** Fix for bug #300584 by Peter Lord
authorMilan Crha <mcrha@redhat.com>
Fri, 16 Nov 2007 12:08:22 +0000 (12:08 +0000)
committerMilan Crha <mcrha@src.gnome.org>
Fri, 16 Nov 2007 12:08:22 +0000 (12:08 +0000)
2007-11-16  Milan Crha  <mcrha@redhat.com>

** Fix for bug #300584 by Peter Lord

* backends/contacts/e-cal-backend-contacts.c: (cdate_to_icaltime):
Use correct year when filling structure, not only years 1970+.

svn path=/trunk/; revision=8216

calendar/ChangeLog
calendar/backends/contacts/e-cal-backend-contacts.c

index f1abc74..6cfdc8e 100644 (file)
@@ -1,3 +1,10 @@
+2007-11-16  Milan Crha  <mcrha@redhat.com>
+
+       ** Fix for bug #300584 by Peter Lord
+
+       * backends/contacts/e-cal-backend-contacts.c: (cdate_to_icaltime):
+       Use correct year when filling structure, not only years 1970+.
+
 2007-11-13  Ondrej Jirman  <megous@megous.com>
 
        ** Fix for bug #494303
index b951c34..c0645f4 100644 (file)
@@ -391,11 +391,7 @@ cdate_to_icaltime (EContactDate *cdate)
 {
        struct icaltimetype ret;
 
-/*FIXME: this is a really _ugly_ (temporary) hack
- *     since several functions are still depending on the epoch,
- *     let entries start (earliest) at 19700101
- */
-       ret.year = cdate->year >= 1970 ? cdate->year : 1970;
+       ret.year = cdate->year;
        ret.month = cdate->month;
        ret.day = cdate->day;
        ret.is_date = TRUE;