[Poppler-bugs] [Bug 94173] return dates in UTC format

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 18 12:43:48 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94173

--- Comment #25 from Jakub Kucharski <jakubkucharski97 at gmail.com> ---
Oh, I've just realised we actually have such a function in core.
pdfTimeToInteger() in poppler/DateInfo.cc. So this function should be fixed
just as poppler_date_parse(). And then glib's poppler_date_parse() and cpp's
detail::convert_date() should just call pdfTimeToInteger(). Or we could remove
glib's poppler_date_parse() altogether (it is used in just 2 places) and leave
cpp's detail::convert_date() just for converting time_t to time_type. I can do
that if Adrian doesn't want to. (It would replace the glib patch.)

-- 
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/20160518/5241b0a8/attachment.html>


More information about the Poppler-bugs mailing list