aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-06 20:25:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-06 20:26:08 +1200
commit3ed2536aae70188fb6c7f20ff7a6a8ab7dfbba80 (patch)
treebf887e76a4ced8b95b2751ccf3582ec4b4c77fb3 /test
parentbc4856d376a555a65059f5295b9ed744e07e7585 (diff)
downloadtrackermap-server-3ed2536aae70188fb6c7f20ff7a6a8ab7dfbba80.tar.gz
trackermap-server-3ed2536aae70188fb6c7f20ff7a6a8ab7dfbba80.tar.bz2
trackermap-server-3ed2536aae70188fb6c7f20ff7a6a8ab7dfbba80.zip
Fix hours formatting
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/calendar/CalendarTest.java2
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));