Fix bug 577023 - The until date of a repeating event changes from UTC time to floating after Thunderbird is closed and restarted.. r=markus
authorDecathlon <bv1578@gmail.com>
Wed, 14 Jul 2010 10:24:00 +0200
changeset 6119 4019a33839dfc503d99522857dd98e0d75214016
parent 6118 3fd91de0a59c926741c780a7655e8908cbf8fee7
child 6120 b3d432fa6c190311967ee6a5b2167060a37b703e
push id4730
push usermozilla@kewis.ch
push dateMon, 09 Aug 2010 18:36:35 +0000
treeherdercomm-central@4019a33839df [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmarkus
bugs577023
Fix bug 577023 - The until date of a repeating event changes from UTC time to floating after Thunderbird is closed and restarted.. r=markus
calendar/providers/storage/calStorageCalendar.js
--- a/calendar/providers/storage/calStorageCalendar.js
+++ b/calendar/providers/storage/calStorageCalendar.js
@@ -1531,17 +1531,17 @@ calStorageCalendar.prototype = {
                         ritem.type = row.recur_type;
                         if (row.count) {
                             try {
                                 ritem.count = row.count;
                             } catch(exc) {
                             }
                         } else {
                             if (row.end_date)
-                                ritem.untilDate = newDateTime(row.end_date);
+                                ritem.untilDate = newDateTime(row.end_date, "UTC");
                             else
                                 ritem.untilDate = null;
                         }
                         try {
                             ritem.interval = row.interval;
                         } catch(exc) {
                         }