news: Replace dates with published_at

master
Jonatan Nilsson 2019-10-02 01:49:15 +00:00
parent 86341e3ece
commit 73a97cffd8
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ const Newsentry = {
: vnode.attrs.description
? m('span.entrydescription', Newsentry.strip(vnode.attrs.description))
: null),
m('span.entrymeta', 'Posted ' + vnode.attrs.created_at.replace('T', ' ').split('.')[0]),
m('span.entrymeta', 'Posted ' + vnode.attrs.published_at.replace('T', ' ').split('.')[0]),
]),
])
},

View File

@ -25,7 +25,7 @@ const Newsitem = {
return m(Fileinfo, { file: file })
})
: null),
m('span.entrymeta', 'Posted ' + vnode.attrs.created_at.replace('T', ' ').split('.')[0]),
m('span.entrymeta', 'Posted ' + vnode.attrs.published_at.replace('T', ' ').split('.')[0]),
]),
]),
])