updates and additions
[webos-internals:djcin7s-modifications.git] / calendar / calendar-google-initial-sync-1yr-back-4yr-forwards.patch
1 diff --git a/usr/palm/services/com.palm.service.calendar.google/javascript/assistants/syncassistant.js b/usr/palm/services/com.palm.service.calendar.google/javascript/assistants/syncassistant.js
2 index c93d1bb..602c4dd 100644
3 --- a/usr/palm/services/com.palm.service.calendar.google/javascript/assistants/syncassistant.js
4 +++ b/usr/palm/services/com.palm.service.calendar.google/javascript/assistants/syncassistant.js
5 @@ -29,9 +29,9 @@ var SyncAssistant = Class.create(Sync.SyncCommand, {
6         initialize: function() {
7                 // TODO: get "better" values for these
8                 var now = new Date();
9 -               now.setMonth(now.getMonth() - 1);
10 +               now.setMonth(now.getMonth() - 12);
11                 this._initialUpdatedMin = Calendar.IO.Utils.dateToIso8601(now);
12 -               now.setMonth(now.getMonth() + 3);
13 +               now.setMonth(now.getMonth() + 60);
14                 this._initialUpdatedMax = Calendar.IO.Utils.dateToIso8601(now);
15                 this.tzManager = new Calendar.TimezoneManager();
16         },