diff --git a/app/src/main/java/com/simplemobiletools/calendar/Formatter.java b/app/src/main/java/com/simplemobiletools/calendar/Formatter.java index 94a0f62a1..327376a2f 100644 --- a/app/src/main/java/com/simplemobiletools/calendar/Formatter.java +++ b/app/src/main/java/com/simplemobiletools/calendar/Formatter.java @@ -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); }