Package: doxygen Version: 1.8.13-11 Severity: normal Forwarded: https://github.com/doxygen/doxygen/pull/7341 Tags: patch
If I use an html footer file that contains: Now is $datetime. This is $year. and run doxygen the generated index.html contains: Now is Sat Oct 19 2019 20:48:34. This is 2019. as expected. However, if I set the SOURCE_DATE_EPOCH when running doxygen SOURCE_DATE_EPOCH=$(date +%s -d '2018-07-01 1200Z') doxygen The generated index.html contains: Now is Sun Jul 1 2018 12:00:00. This is 2019. I.e the output of $datetime shows the SOURCE_DATE_EPOCH, but the $year shows the current year. This (a) is inconsistent and (b) makes the output non-reproducible. With the change $year supports SOURCE_DATE_EPOCH the same way $datetime does and the output is consistent: Now is Sun Jul 1 2018 12:00:00. This is 2018. Patch available in the upstream PR. Mattias
signature.asc
Description: This is a digitally signed message part