Store the dates as number and not strings to avoid ot issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user