iso-date in pdf reports

Added:
- locale formats dir (pdf generation),
- code cleanups.