Skip to content

Commit bf6836a

Browse files
committed
Merge pull request #109 from deiu/master
Return Unix type timestamp (trim last 3 zeros)
2 parents d177717 + 67ec799 commit bf6836a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/ldp.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ LDP.prototype.listContainer = function (filename, uri, containerData, callback)
121121
resourceGraph.add(
122122
resourceGraph.sym(baseUri),
123123
ns.stat('mtime'),
124-
stats.mtime.getTime());
124+
stats.mtime.getTime() / 1000);
125125

126126
resourceGraph.add(
127127
resourceGraph.sym(baseUri),

0 commit comments

Comments
 (0)