]> source.dussan.org Git - jgit.git/commit
[Java 9] Fix GitDateFormatterTest 04/144304/1
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 17 Jun 2019 23:48:10 +0000 (01:48 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 18 Jun 2019 00:22:42 +0000 (02:22 +0200)
commit3690f47b5768d4b1d476bc0d8aab7bed82844799
tree88b49e102050a796c6b4939433dc02f8f3bb5c18
parent7607465006aa226684a903b4b147982fe220428d
[Java 9] Fix GitDateFormatterTest

In JDK 9 and later, the default locale data uses data derived from the
Unicode Consortium's Common Locale Data Repository (CLDR). So there are
changes with respect to some locales.

For example the short date-time format is ‹{1}, {0}› in the CLDR locale,
as opposed to {1} {0} in the JRE locale data.

See: https://bugs.openjdk.java.net/browse/JDK-8206961
See: https://www.unicode.org/cldr/charts/29/by_type/date_&_time.gregorian.html#1141bf54834c4261
Change-Id: I7535821e8ecd8702a95db8732cbbf3a4a7385eca
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/GitDateFormatterTest.java