On Thu, 14 Apr 2022 16:13:59 GMT, Andrew Leonard <aleon...@openjdk.org> wrote:
> JDK-8282769 added support for more ISO-8601 formats, but remove handling of > just a date "YYYY-MM-DD" being present, which is the case for a configure > using --with-source-date=version which uses the date string from > version-numbers.conf. > Also, the first date parse had an invalid format string "%FZ %TZ", with too > many Zs. > This PR corrects the first date parse to parse a standard ISO-8601 Zulu > date&time: "%FT%TZ" > Then it adds the final check for no time being specified. > > Signed-off-by: Andrew Leonard <anleo...@redhat.com> This pull request has now been integrated. Changeset: da3d8b1d Author: Andrew Leonard <aleon...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/da3d8b1d1ea132e670d5629af3e98d958f2b56f7 Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod 8284539: Configure --with-source-date=version fails on MacOS Reviewed-by: erikj, ihse ------------- PR: https://git.openjdk.java.net/jdk/pull/8247