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