1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-18 23:07:45 +02:00

All: Got clock sync to work on mobile

This commit is contained in:
Laurent Cozic
2020-09-09 12:25:31 +01:00
parent a014b9347e
commit b24d060281
2 changed files with 27 additions and 9 deletions

View File

@ -44,7 +44,7 @@ class FileApiDriverDropbox {
metadataToStat_(md, path) {
const output = {
path: path,
updated_time: md.server_modified ? new Date(md.server_modified) : new Date(),
updated_time: md.server_modified ? (new Date(md.server_modified)).getTime() : Date.now(),
isDir: md['.tag'] === 'folder',
};