Store the dates as number and not strings to avoid ot issues

This commit is contained in:
yflory
2017-03-21 14:46:40 +01:00
parent 8556ce9d17
commit 6fbd1f0028
2 changed files with 4 additions and 4 deletions

View File

@@ -748,8 +748,8 @@ define([
files[FILES_DATA].push({
href: href,
title: title,
atime: new Date().toISOString(),
ctime: new Date().toISOString()
atime: +new Date(),
ctime: +new Date()
});
};
var createNewFile = exp.createNewFile = function (filePath, name, type, cb) {