news: Replace dates with published_at
This commit is contained in:
parent
86341e3ece
commit
73a97cffd8
2 changed files with 2 additions and 2 deletions
|
@ -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]),
|
||||
]),
|
||||
])
|
||||
},
|
||||
|
|
|
@ -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]),
|
||||
]),
|
||||
]),
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue