latex3 / l3build

A testing and building system for LaTeX
LaTeX Project Public License v1.3c
84 stars 14 forks source link

UTC date in zip archive #361

Closed jlaurens closed 6 days ago

jlaurens commented 2 weeks ago

avoid local date in tagging. It assumes that the os.date is not buggy. Fix a bug in l3build-zip

josephwright commented 2 weeks ago

I'm not sure this makes sense: if the package date is ahead of the local date when you build docs, it could well fail.

jlaurens commented 2 weeks ago

What is the link between the doc and the date?

josephwright commented 2 weeks ago

For example when l3doc checks that things are not deprecated ...

jlaurens commented 2 weeks ago

Comparing times (or dates) in possibly different time zones gives undefined result, if you don't know the time zones in advance. l3doc silently assumes that the dates are in the local TZ, this should be documented in l3doc. New commit with changes replaced by documentation.

zauguin commented 6 hours ago

Not sure why this is closed, but I don't have strong opinions on this. I'm weakly in favor of the change, but I'm guessing we should ask CTAN what they usually assume the times to mean in uploads.