mizdebsk opened a new pull request, #186:
URL: https://github.com/apache/ant/pull/186
Parsing SOURCE_DATE_EPOCH environment variable by Tstamp leads to integer
overflow and produces wrong result.
The following example illustrates that:
<tstamp/>
<echo>TODAY is ${TODAY}</echo>
This produces the following output:
[tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been
set to 1650585600
[echo] TODAY is January 16 1970
Which is incorrect, because timestamp 1650585600 corresponds to April 22
2022.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]