fix #12, make sure the arrows for switching days work in every zone

This commit is contained in:
tibbi 2016-08-21 20:53:14 +02:00
parent d6b58bdbf6
commit 679a04133f

View file

@ -58,7 +58,7 @@ public class Formatter {
}
public static String getDayCodeFromDateTime(DateTime dateTime) {
return dateTime.toDateTime(DateTimeZone.getDefault()).toString(Formatter.DAYCODE_PATTERN);
return dateTime.toString(Formatter.DAYCODE_PATTERN);
}
// use manually translated month names, as DateFormat and Joda have issues with a lot of languages