Menu

#2 isDaylightSavingDay causes hour leap two times

open
nobody
None
5
2010-10-29
2010-10-29
Anonymous
No

recent code in DayView causes the daylight saving correcting to occur twice. please remove this:
if (DateUtil.isDaylightSavingDay(interval.getStartDate())) {
Date currDay = new Date(time);
if (DateUtil.isAfterDSTChange(currDay)) {
currDay = DateUtil.moveByMinute(currDay, 60);
time = currDay.getTime();
time -= interval.getStartDate().getTime();
}

Discussion


Log in to post a comment.

MongoDB Logo MongoDB