nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nitweb: add catalog sidebar on package views
[nit.git]
/
share
/
nitweb
/
javascripts
/
entities.js
diff --git
a/share/nitweb/javascripts/entities.js
b/share/nitweb/javascripts/entities.js
index
ed2836b
..
71bf600
100644
(file)
--- a/
share/nitweb/javascripts/entities.js
+++ b/
share/nitweb/javascripts/entities.js
@@
-66,6
+66,10
@@
controller: function(mentity, doc) {
this.mentity = mentity;
this.doc = doc;
+
+ this.date = function(date) {
+ return new Date(date);
+ }
},
controllerAs: 'vm',
})