[Poppler-bugs] [Bug 94173] return dates in UTC format
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 25 00:37:18 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94173
--- Comment #22 from Albert Astals Cid <aacid at kde.org> ---
(In reply to Adrian Johnson from comment #21)
> I'm not sure what you mean by "WhateverTimeZone-8Is". We don't know the time
> zone that the PDF was created in, only the time offset from UTC. There may
> be multiple timezones that map to the same offset.
I meant "Mon Jan 31 10:21:49 2005 PST"
> Displaying the timezone offset is doable as unlike the front ends where the
> API is limited to providing a single time_t value, pdfinfo can get the time
> zone value. However I think it is more useful to convert the time to the
> local time zone. It is more useful to me if for example an PDF file is
> emailed to be at 12:00pm, I open it and see the creation date is 11:30am, to
> immediately know that is was created 30 minutes earlier than if the
> displayed creation date was 01:00+04.
I guess you have a point.
> It is useful to be able to see the time zone information in the PDF which is
> why I added the -isodates option so you will see 2016-02-25T01:00+04.
>
> The third possibility, which seems to be the one you are suggesting, is to
> convert the UTC+timezone time in the PDF to the local time of the creator.
> ie 4:00am. I don't think this is useful. Showing times in the creators time
> zone is only useful to someone in that time zone. To me it is just some
> random time. It is not showing the time in a format that I can compare to
> other times in my timezone.
No no, that seems messy.
Ok, so I guess you have convinced me, let's give Jakub some time to comment
about what he thinks of the patches.
--
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/20160225/2189e0e2/attachment.html>
More information about the Poppler-bugs
mailing list