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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 17 21:22:48 UTC 2016


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

--- Comment #8 from Jakub Kucharski <jakubkucharski97 at gmail.com> ---
(In reply to Adrian Johnson from comment #7)
> Your code doesn't work. timegm() modifies the struct. Swap the utcmktime and
> timegm around (or just make a copy of the struct) and it fails.

Actually, utcmktime() works. I only made a mistake in the random struct tm
generation. Fixed it. Check now.

-- 
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/20160217/ddca7b22/attachment.html>


More information about the Poppler-bugs mailing list