Commit 87c20768 authored by François Billioud's avatar François Billioud

fix syntaxe error on date object

parent c343d47c
......@@ -406,7 +406,7 @@ JSONDocument.prototype.load({//add methods thanks to the UngObject.load method
//dates
getCreation:function() {return this.creation;},
getLastModification:function() {return this.lastModification.toUTCString();},
getLastModification:function() {return (new Date(this.lastModification)).toUTCString();},
setLastModification:function(date) {this.lastModification=date;},
//state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment