summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/fs/30_fs.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js
index a149f653d..9c3bee6ac 100644
--- a/ext/fs/30_fs.js
+++ b/ext/fs/30_fs.js
@@ -316,9 +316,9 @@ function parseFileInfo(response) {
isDirectory: response.isDirectory,
isSymlink: response.isSymlink,
size: response.size,
- mtime: response.mtimeSet !== null ? new Date(response.mtime) : null,
- atime: response.atimeSet !== null ? new Date(response.atime) : null,
- birthtime: response.birthtimeSet !== null
+ mtime: response.mtimeSet === true ? new Date(response.mtime) : null,
+ atime: response.atimeSet === true ? new Date(response.atime) : null,
+ birthtime: response.birthtimeSet === true
? new Date(response.birthtime)
: null,
dev: response.dev,