mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-18 12:50:34 +01:00
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) {
|
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);
|
return (int) (dateTime.plusDays(1).minusMinutes(1).getMillis() / 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user