diff options
Diffstat (limited to 'test/org/traccar/calendar/CalendarTest.java')
-rw-r--r-- | test/org/traccar/calendar/CalendarTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/org/traccar/calendar/CalendarTest.java b/test/org/traccar/calendar/CalendarTest.java index 0de89f97f..56406d4b8 100644 --- a/test/org/traccar/calendar/CalendarTest.java +++ b/test/org/traccar/calendar/CalendarTest.java @@ -44,7 +44,7 @@ public class CalendarTest { "END:VCALENDAR"; Calendar calendar = new Calendar(); calendar.setData(calendarString.getBytes()); - DateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ssX"); + DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ssX"); Date date = format.parse("2016-12-13 22:59:59+05"); assertTrue(!calendar.checkMoment(date)); |