thelounge/client/js/libs/handlebars/localedate.js

8 lines
131 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");
2016-12-18 15:53:28 +00:00
};