We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32937ce commit 1a9f87eCopy full SHA for 1a9f87e
src/popup/services/sync.service.ts
@@ -77,7 +77,7 @@ export class SyncService extends BaseSyncService {
77
await super.setLastSync(date);
78
79
// Update remote sync date only for non-zero date, which is used for logout
80
- if (date.getTime() !== new Date(0).getTime()) {
+ if (date.getTime() !== 0) {
81
await this.cozyClientService.updateSynchronizedAt();
82
}
83
0 commit comments