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

8 lines
131 B
JavaScript
Raw Normal View History

"use strict";
2017-04-29 12:31:04 +02:00
const moment = require("moment");
2016-12-18 16:53:28 +01:00
module.exports = function(time) {
2017-04-29 12:31:04 +02:00
return moment(time).format("D MMMM YYYY");
2016-12-18 16:53:28 +01:00
};