use local time at getDayEndTS too

This commit is contained in:
tibbi 2016-07-05 00:12:10 +02:00
parent 15e4a7066e
commit 862c41e693
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class Formatter {
}
public static int getDayEndTS(String dayCode) {
final DateTime dateTime = getDateTimeFromCode(dayCode);
final DateTime dateTime = getLocalDateTimeFromCode(dayCode);
return (int) (dateTime.plusDays(1).minusMinutes(1).getMillis() / 1000);
}