RFR: 8282769: BSD date cannot handle all ISO 8601 formats

Erik Joelsson erikj at openjdk.java.net
Mon Mar 7 23:04:04 UTC 2022


On Mon, 7 Mar 2022 22:47:13 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The BSD version of the date command that ships with macOS cannot handle all ISO 8601 formats. More specifically, it cannot handle trailing milliseconds.
> 
> This fix will allow it to be more tolerant.

Are we losing the timezone when using this fallback? I'm not sure if that is actually better behavior.

-------------

Marked as reviewed by erikj (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/7733



More information about the build-dev mailing list