Commit e320bdfe authored by Rufus's avatar Rufus Committed by Florian Klien

Reverted the wrong merge from February that causes the time bug difference of 1 hour.

parent 5ea04236
......@@ -27,7 +27,7 @@ public class EventsParser extends IterableAbstractPullParser<DetailedEvent> {
private final DateFormat DATE_FORMAT = DateUtils.withAustrianTimeZone(new SimpleDateFormat("yyyy-MM-dd", Locale.US));
// Calendar used to compute the events time, according to Belgium timezone
// Calendar used to compute the events time, according to Austrian timezone
private final Calendar calendar = Calendar.getInstance(DateUtils.getAustriaTimeZone(), Locale.US);
private Day currentDay;
......
......@@ -11,7 +11,7 @@ import androidx.annotation.Nullable;
public class DateUtils {
private static final TimeZone AUSTRIA_TIME_ZONE = TimeZone.getTimeZone("GMT+1");
private static final TimeZone AUSTRIA_TIME_ZONE = TimeZone.getTimeZone("Europe/Vienna");
public static TimeZone getAustriaTimeZone() {
return AUSTRIA_TIME_ZONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment