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

8 lines
131 B
JavaScript
Raw Normal View History

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