hardlounge/client/js/libs/handlebars/localedate.js
2017-03-18 11:21:18 +02:00

6 lines
97 B
JavaScript

"use strict";
module.exports = function(time) {
return new Date(time).toLocaleDateString();
};