mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-28 16:29:30 +00:00
Fixed daylight saving time support for the web interface.
Monotone-Parent: 34b0098e2e34111ae63e0f056fceabfd7cb1362e Monotone-Revision: 3e11a03b205eab5434bea8b8a0f1a401eff54568 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-12-30T14:47:58 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -115,13 +115,7 @@
|
||||
|
||||
doesOccur = [self isRecurrent];
|
||||
if (doesOccur)
|
||||
{
|
||||
// tz = [occurenceDate timeZone];
|
||||
// if ([tz isDaylightSavingTimeForDate: occurenceDate] != [tz isDaylightSavingTimeForDate: [self startDate]]) {
|
||||
// daylightOffset = [tz secondsFromGMTForDate: occurenceDate] - [tz secondsFromGMTForDate: [self startDate]];
|
||||
// occurenceDate = [occurenceDate dateByAddingYears: 0 months: 0 days: 0 hours: 0 minutes: 0 seconds: daylightOffset];
|
||||
// }
|
||||
|
||||
{
|
||||
endDate = [occurenceDate addTimeInterval: [self occurenceInterval]];
|
||||
checkRange = [NGCalendarDateRange calendarDateRangeWithStartDate: occurenceDate
|
||||
endDate: endDate];
|
||||
|
||||
Reference in New Issue
Block a user