1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Tools: Fixed OneDrive test units

This commit is contained in:
Laurent Cozic
2020-12-16 11:19:35 +00:00
parent 59e2e65de0
commit 693f59d07a
2 changed files with 17 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ class FileApiDriverOneDrive {
output.isDeleted = true;
} else {
// output.created_time = moment(odItem.fileSystemInfo.createdDateTime, 'YYYY-MM-DDTHH:mm:ss.SSSZ').format('x');
output.updated_time = moment(odItem.fileSystemInfo.lastModifiedDateTime, 'YYYY-MM-DDTHH:mm:ss.SSSZ').format('x');
output.updated_time = Number(moment(odItem.fileSystemInfo.lastModifiedDateTime, 'YYYY-MM-DDTHH:mm:ss.SSSZ').format('x'));
}
return output;