-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use UTC date/time for PS/PDF file metadata #490
Comments
@havardAasen I'll look at this when I get a chance, but I believe the issue is that I only have the one |
I will note, however, that any document that is generated with a date or time in the header or footer will still end up using the local timezone. Shouldn't be an issue for the HTMLDOC users manual but my proposed fix won't solve your issue with HTMLDOC as a build tool. There you should probably force the timezone setting in the environment (probably to UTC). |
@michaelrsweet, reading you previous comment, it seems you have a solution in mind? The only thing I can think of is in the direction of a command-line argument like |
@havardAasen Yes, set the "TZ" environment variable to "UTC" or "GMT" to get dates and times in UTC. Like I said, this will affect the dates and times in headers/footers as well. |
After the change from
gmtime_r
tolocaltime_r
in a67e9cc, the build became unreproducible. Where it's the timezone that makes the difference. This is in part a regression from #310.When we build this package in Debian, we create the documentation at the same time, with HTMLDOC. This means that with version 1.9.16, the
CreationDate
ofpdf
andps
documents, will change depending on timezone.How important is the need to use
localtime_r
? I noticed #485, which makes me believe this is a wanted feature.Also, was the change to
localtime_r
needed for #472 to be fully functional?The text was updated successfully, but these errors were encountered: