Fix for all-day events and DST

Monotone-Parent: dfb14f2703df6b34884a9fb24c8a1e3346359c45
Monotone-Revision: e63db11744055769ff757def864e9770499ad057

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-03-18T21:41:22
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2009-03-18 21:41:22 +00:00
parent bcff48ba8c
commit 7e019988a8
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@
tz = [NSTimeZone defaultTimeZone];
dateTime = [initialDate addYear: 0 month: 0 day: 0
hour: 0 minute: 0
second: -[tz secondsFromGMT]];
second: -[tz secondsFromGMTForDate: initialDate]];
}
}
else