This commit is contained in:
Nazar Kanaev
2020-10-02 21:15:55 +01:00
parent 9872bf84f0
commit 72da9df5ac
2 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
'use strict';
Vue.config.devtools = true
var TITLE = document.title
@@ -100,7 +101,7 @@ Vue.component('relative-time', {
'interval': null,
}
},
template: '<time :datetime="val">{{formatted}}</time>',
template: '<time :datetime="val">{{ formatted }}</time>',
mounted: function() {
this.interval = setInterval(function() {
this.formatted = dateRepr(this.date)