Package: poppler-utils
Version: 0.12.4-1.2
Severity: minor

When outputting the CreationDate and ModDate fields, pdfinfo outputs
the date and time in the timezone used by the PDF file, without saying
what it is. This behavior is incorrect: when outputting date/time in a
timezone different from the local one, the timezone must be shown.

For instance, on a PDF file having

InfoKey: ModDate
InfoValue: D:20110411145147+02'00'
InfoKey: CreationDate
InfoValue: D:20110411144129+02'00'

(values taken from "pdftk file.pdf dump_data"), one gets:

$ TZ=UTC pdfinfo file.pdf
[...]
CreationDate:   Mon Apr 11 14:41:29 2011
ModDate:        Mon Apr 11 14:51:47 2011
[...]

This uses the timezone from the PDF file instead of the timezone
local to the machine (to the process, actually).

So, either output the timezone from the PDF file (e.g. +0200) or
convert the date/time to the local timezone.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages poppler-utils depends on:
ii  libc6                       2.11.2-13    Embedded GNU C Library: Shared lib
ii  libfontconfig1              2.8.0-2.1    generic font configuration library
ii  libgcc1                     1:4.6.0-2    GCC support library
ii  libpoppler5                 0.12.4-1.2   PDF rendering library
ii  libstdc++6                  4.6.0-2      The GNU Standard C++ Library v3
ii  libxml2                     2.7.8.dfsg-2 GNOME XML library

Versions of packages poppler-utils recommends:
ii  ghostscript                  9.02~dfsg-1 interpreter for the PostScript lan

poppler-utils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to