Please sign in to comment.
Bug 751984 - Use UTC timezone when displaying QDateTimes parsed from …
…SOURCE_DATE_EPOCH According to the SOURCE_DATE_EPOCH spec , "Formatting MUST be deferred until runtime if an end user should observe the value in their own locale or timezone." However setTime_t uses localtime, so the output is in the timezone of the build machine running doxygen, and not the timezone of the reader consuming the final output. To adhere to the spec, the easiest option is to add a setTimeUtc_t function that is the same as setTime_t, but only uses gmtime instead of first trying localtime.  https://reproducible-builds.org/specs/source-date-epoch/
- Loading branch information...
Showing with 25 additions and 1 deletion.