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

6 lines
97 B
JavaScript
Raw Normal View History

"use strict";
2016-12-18 15:53:28 +00:00
module.exports = function(time) {
2016-10-03 18:03:19 +00:00
return new Date(time).toLocaleDateString();
2016-12-18 15:53:28 +00:00
};