[Poppler-bugs] [Bug 94173] return dates in UTC format
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 23 11:45:10 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94173
--- Comment #15 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to Albert Astals Cid from comment #11)
> Also are you guys sure returning the time in UTC is the right thing instead
> of returnin time+timezone information?
I did some testing with PDFs containing dates in different time zones.
Test PDF contains the time and zone: 09:25:03+2:00
Without the fix the displayed time is "09:25:03 ACDT". This is incorrect as it
is ignoring the timezone in the PDF and showing only the time part. Even worse
it is now claiming this time is in my timezone.
With the fix the displayed time is "17:55:03 ACDT". This is correct. The PDF
time has been correctly converted to my timezone (+10:30).
If PDF viewers want to display "09:25:03+2" to the user we could add an
additional API function that returns both the localtime (as stored in the PDF)
and timezone.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160223/a34de0fb/attachment.html>
More information about the Poppler-bugs
mailing list