use local time at getDayEndTS too
This commit is contained in:
parent
15e4a7066e
commit
862c41e693
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue