aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/DateUtil.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-15 16:56:55 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-15 16:56:55 +0500
commit975d2850e245c880e9105b68746cb535ea09fa90 (patch)
tree195fc2b97ed9ff698b0d2a349209f559e09b77af /src/org/traccar/helper/DateUtil.java
parent38c12eb011e47c131a9b1e47e2b29901270057b1 (diff)
downloadtrackermap-server-975d2850e245c880e9105b68746cb535ea09fa90.tar.gz
trackermap-server-975d2850e245c880e9105b68746cb535ea09fa90.tar.bz2
trackermap-server-975d2850e245c880e9105b68746cb535ea09fa90.zip
Use timezone from preferences for excel reports
Diffstat (limited to 'src/org/traccar/helper/DateUtil.java')
-rw-r--r--src/org/traccar/helper/DateUtil.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/org/traccar/helper/DateUtil.java b/src/org/traccar/helper/DateUtil.java
index de36d4420..30bb1b2fa 100644
--- a/src/org/traccar/helper/DateUtil.java
+++ b/src/org/traccar/helper/DateUtil.java
@@ -18,7 +18,6 @@ package org.traccar.helper;
import java.util.Calendar;
import java.util.Date;
-import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
@@ -64,9 +63,4 @@ public final class DateUtil {
public static Date parseDate(String value) {
return DATE_FORMAT.parseDateTime(value).toDate();
}
-
- public static DateTime parseDateTime(String value) {
- return DATE_FORMAT.withOffsetParsed().parseDateTime(value);
- }
-
}