diff --git a/src/main/java/org/traccar/web/server/reports/ReportGenerator.java b/src/main/java/org/traccar/web/server/reports/ReportGenerator.java index 5f6fb5ec..b9a2b8e2 100644 --- a/src/main/java/org/traccar/web/server/reports/ReportGenerator.java +++ b/src/main/java/org/traccar/web/server/reports/ReportGenerator.java @@ -69,7 +69,9 @@ public final void generate(Report report) throws IOException { : TimeZone.getTimeZone(currentUser.getUserSettings().getTimeZoneId()); Locale locale = new Locale(getLocale()); dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", locale); + dateFormat.setTimeZone(timeZone); longDateFormat = new SimpleDateFormat("d MMM yyyy", locale); + longDateFormat.setTimeZone(timeZone); renderer.start(report); generateImpl(report);