mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 11:03:37 +08:00
8 lines
188 B
JavaScript
8 lines
188 B
JavaScript
export default function fullTime(time) {
|
|
var time = moment(time);
|
|
var datetime = time.format();
|
|
var full = time.format('LLLL');
|
|
|
|
return m('time', {pubdate: '', datetime}, full);
|
|
}
|