hardlounge/client/js/libs/handlebars/localetime.js

8 lines
141 B
JavaScript
Raw Normal View History

"use strict";
2017-04-29 10:31:04 +00:00
const moment = require("moment");
2016-12-18 15:53:28 +00:00
module.exports = function(time) {
2017-04-29 10:31:04 +00:00
return moment(time).format("D MMMM YYYY, HH:mm:ss");
2016-12-18 15:53:28 +00:00
};