On Tue, 30 Nov 2021 19:31:37 GMT, John Neffenger <jgn...@openjdk.org> wrote:
> > Both basically truncate the timezone. > > There's a difference. The first option saves a DOS date and time that depends > on the time zone of the build machine due to the ISO 8601 string returned by > default from the `git` and `date` commands, which is what everyone will be > using. Those commands return the local time zone offset by default, which is > what breaks your current implementation. @jgneff I think you've lost me on this one so example may help me please.. Whichever we use, we have to use e.setTimeLocal(), so can't see what the difference is? ------------- PR: https://git.openjdk.java.net/jdk/pull/6481