[tex-live] time zone in \pdffilemoddate

Ulrike Fischer news3 at nililand.de
Sat Nov 3 23:00:48 CET 2018


\pdffilemoddate gives a date with the local time zone, even if
SOURCE_DATE_EPOCH has been set. E.g.

\documentclass{article}
\begin{document}
\pdffilemoddate {article.cls}
\end{document}

gives for me D:20180529230632+02’00’

This is a problem for automated tests, e.g. when embedded files in
the pdf are involved.
 
Could \pdffilemoddate be changed to always us the "Z" time zone if
SOURCE_DATE_EPOCH is set?



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/



More information about the tex-live mailing list