[SHL-154] Update DateCommand test.
This commit is contained in:
committed by
Eric Bottard
parent
66b3ba7d69
commit
5b8a07ed4b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user