GNOME Bugzilla – Bug 633185
Can't handle Birthdays before 01/01/1970
Last modified: 2011-03-09 12:46:08 UTC
Evo-MAPI can't handle birthdays before 01/01/1970. The Contact-Editor changes date back to 01/01/1970 if you want to enter date before 1970.
Created attachment 173701 [details] [review]
Not as that much evolution-mapi issue, rather samba4's, because they clamp time_t to some range when converting from exchange's FILETIME structure. This patch workarounds the issue on the ema side. I do not know why exactly, but when writing times to birthday/anniversary there were shifted by one day for me (when seeing in Outlook). I think I miss here something obvious about mktime, like it's using system timezone or something, but I cannot find it. I'm adding one day to the actual value right now.
I entered bug to samba bugzilla:
Created commit ef6caf3 in ema master (2.91.2+)
Created commit dd154a9 in ema gnome-2-32 (0.32.1+)
*** Bug 615037 has been marked as a duplicate of this bug. ***