summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-04-19 10:44:02 +0000
committeraclement <aclement>2005-04-19 10:44:02 +0000
commitca2a084bcb48c05486f2f21aa5cddf8747f20f7d (patch)
tree229b301e6daf6f28613f88e69d79c9b65e1abd79
parente1c7b380adc01fe54fd3b30e3c1697b238324be0 (diff)
downloadaspectj-ca2a084bcb48c05486f2f21aa5cddf8747f20f7d.tar.gz
aspectj-ca2a084bcb48c05486f2f21aa5cddf8747f20f7d.zip
Uses default locale rather than assuming UK
-rw-r--r--bridge/testsrc/org/aspectj/bridge/VersionTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/testsrc/org/aspectj/bridge/VersionTest.java b/bridge/testsrc/org/aspectj/bridge/VersionTest.java
index 1587820c6..3791d20cc 100644
--- a/bridge/testsrc/org/aspectj/bridge/VersionTest.java
+++ b/bridge/testsrc/org/aspectj/bridge/VersionTest.java
@@ -45,7 +45,7 @@ public class VersionTest extends TestCase {
public void testVersion() {
if (Version.time_text.equals("")) return; // dev build, we can only test this on the build server.
Date date = new Date(Version.time);
- SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.UK);
+ SimpleDateFormat format = new SimpleDateFormat(Version.SIMPLE_DATE_FORMAT, Locale.getDefault());
format.setTimeZone(TimeZone.getTimeZone("GMT"));
String timeString = format.format(date);
assertEquals(Version.time_text, timeString);