From 5b8a07ed4b2237db62e6595ea6eeb8f9df7aa7eb Mon Sep 17 00:00:00 2001 From: Daniel Cunha Date: Fri, 20 Jun 2014 23:08:57 -0300 Subject: [PATCH] [SHL-154] Update DateCommand test. --- .../org/springframework/shell/commands/BuiltInCommandTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/springframework/shell/commands/BuiltInCommandTests.java b/src/test/java/org/springframework/shell/commands/BuiltInCommandTests.java index 5b9a7882..0d992b5d 100644 --- a/src/test/java/org/springframework/shell/commands/BuiltInCommandTests.java +++ b/src/test/java/org/springframework/shell/commands/BuiltInCommandTests.java @@ -36,7 +36,7 @@ public class BuiltInCommandTests extends AbstractShellIntegrationTest { CommandResult cr = getShell().executeCommand("date"); //Get result - DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL,Locale.US); + DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.getDefault()); Date result = df.parse(cr.getResult().toString()); //Make assertions