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: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to