summaryrefslogtreecommitdiffstats
path: root/qtools/qmutex_p.h
diff options
context:
space:
mode:
authorXimin Luo <infinity0@pwned.gg>2016-05-09 21:14:16 (GMT)
committerXimin Luo <infinity0@pwned.gg>2016-05-09 21:14:16 (GMT)
commit5801460b3141871222569fb99e7964e9a2925d71 (patch)
tree91632ac3f08ce5200b0f23ba0d45199bcfaf68bd /qtools/qmutex_p.h
parent8480d35beef57ed08139b58972bfb83a3b37422c (diff)
downloadDoxygen-5801460b3141871222569fb99e7964e9a2925d71.zip
Doxygen-5801460b3141871222569fb99e7964e9a2925d71.tar.gz
Doxygen-5801460b3141871222569fb99e7964e9a2925d71.tar.bz2
Bug 751984 - Use UTC timezone when displaying QDateTimes parsed from SOURCE_DATE_EPOCH
According to the SOURCE_DATE_EPOCH spec [1], "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. [1] https://reproducible-builds.org/specs/source-date-epoch/
Diffstat (limited to 'qtools/qmutex_p.h')
0 files changed, 0 insertions, 0 deletions