From db3eba2c39e8deb9b69cc6ddba289dffc2c38172 Mon Sep 17 00:00:00 2001 From: Dan Mills Date: Sun, 22 Feb 2009 00:21:15 -0800 Subject: [PATCH] fix 'last sync' date in weave menu --- services/sync/modules/service.js | 2 +- services/sync/services-sync.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index e34311c9798..223df9a6184 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -695,7 +695,7 @@ WeaveSvc.prototype = { if (!this._syncError) { Svc.Prefs.reset("lastsync"); - Svc.Prefs.set("lastsync", Date.now()); + Svc.Prefs.set("lastsync", new Date().toString()); this._log.info("Sync completed successfully"); } else this._log.warn("Some engines did not sync correctly"); diff --git a/services/sync/services-sync.js b/services/sync/services-sync.js index 9b674f2da45..03eff5790cb 100644 --- a/services/sync/services-sync.js +++ b/services/sync/services-sync.js @@ -3,7 +3,6 @@ pref("extensions.weave.serverURL", "https://auth.services.mozilla.com/"); pref("extensions.weave.encryption", "aes-256-cbc"); pref("extensions.weave.lastversion", "firstrun"); -pref("extensions.weave.lastsync", 0); pref("extensions.weave.ui.syncnow", true); pref("extensions.weave.ui.sharebookmarks", false);