diff --git a/ReactNativeClient/lib/file-api-driver-local.js b/ReactNativeClient/lib/file-api-driver-local.js index ae5f3c26c..78521b259 100644 --- a/ReactNativeClient/lib/file-api-driver-local.js +++ b/ReactNativeClient/lib/file-api-driver-local.js @@ -42,7 +42,7 @@ class FileApiDriverLocal { metadataFromStat_(stat) { return { path: stat.path, - created_time: stat.birthtime.getTime(), + // created_time: stat.birthtime.getTime(), updated_time: stat.mtime.getTime(), isDir: stat.isDirectory(), }; diff --git a/ReactNativeClient/lib/file-api-driver-memory.js b/ReactNativeClient/lib/file-api-driver-memory.js index 17a0b5f39..e172aee66 100644 --- a/ReactNativeClient/lib/file-api-driver-memory.js +++ b/ReactNativeClient/lib/file-api-driver-memory.js @@ -39,7 +39,7 @@ class FileApiDriverMemory { path: path, isDir: isDir, updated_time: now, // In milliseconds!! - created_time: now, // In milliseconds!! + // created_time: now, // In milliseconds!! content: '', }; } diff --git a/ReactNativeClient/lib/file-api-driver-onedrive.js b/ReactNativeClient/lib/file-api-driver-onedrive.js index c72827e6b..aaba8b100 100644 --- a/ReactNativeClient/lib/file-api-driver-onedrive.js +++ b/ReactNativeClient/lib/file-api-driver-onedrive.js @@ -41,7 +41,7 @@ class FileApiDriverOneDrive { if ('deleted' in odItem) { output.isDeleted = true; } else { - output.created_time = moment(odItem.fileSystemInfo.createdDateTime, 'YYYY-MM-DDTHH:mm:ss.SSSZ').format('x'); + // 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'); } diff --git a/ReactNativeClient/lib/file-api-driver-webdav.js b/ReactNativeClient/lib/file-api-driver-webdav.js index dba19de6c..0d527c54a 100644 --- a/ReactNativeClient/lib/file-api-driver-webdav.js +++ b/ReactNativeClient/lib/file-api-driver-webdav.js @@ -52,7 +52,7 @@ class FileApiDriverWebDav { return { path: path, - created_time: lastModifiedDate.getTime(), + // created_time: lastModifiedDate.getTime(), updated_time: lastModifiedDate.getTime(), isDir: isCollection === '', sizeDONOTUSE: sizeDONOTUSE, // This property is used only for the WebDAV PUT hack (see below) so mark it as such so that it can be removed with the hack later on.