framework/js/lib/helpers/full-time.js
2015-04-25 22:28:39 +09:30

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);
}