fix 'last sync' date in weave menu

This commit is contained in:
Dan Mills 2009-02-22 00:21:15 -08:00
parent 8c671b69c9
commit db3eba2c39
2 changed files with 1 additions and 2 deletions

View File

@ -695,7 +695,7 @@ WeaveSvc.prototype = {
if (!this._syncError) { if (!this._syncError) {
Svc.Prefs.reset("lastsync"); Svc.Prefs.reset("lastsync");
Svc.Prefs.set("lastsync", Date.now()); Svc.Prefs.set("lastsync", new Date().toString());
this._log.info("Sync completed successfully"); this._log.info("Sync completed successfully");
} else } else
this._log.warn("Some engines did not sync correctly"); this._log.warn("Some engines did not sync correctly");

View File

@ -3,7 +3,6 @@ pref("extensions.weave.serverURL", "https://auth.services.mozilla.com/");
pref("extensions.weave.encryption", "aes-256-cbc"); pref("extensions.weave.encryption", "aes-256-cbc");
pref("extensions.weave.lastversion", "firstrun"); pref("extensions.weave.lastversion", "firstrun");
pref("extensions.weave.lastsync", 0);
pref("extensions.weave.ui.syncnow", true); pref("extensions.weave.ui.syncnow", true);
pref("extensions.weave.ui.sharebookmarks", false); pref("extensions.weave.ui.sharebookmarks", false);