use the actual date object to sync

This commit is contained in:
ekatek
2014-06-18 22:10:24 -07:00
parent 00490f97dd
commit 285a3ef8d4

View File

@@ -50,8 +50,7 @@ var openPackageServerConnection = function () {
// from the beginning of time.
exports.loadCachedServerData = function () {
var noDataToken = {
// XXX have a better sync token for "all"
syncToken: {time: 'Sun, 01 Jan 2012 00:00:00 GMT'},
syncToken: {time: new Date(0)},
collections: null
};;