hardlounge/client/js/libs/handlebars/localetime.js

6 lines
117 B
JavaScript
Raw Normal View History

"use strict";
Handlebars.registerHelper("localetime", function(time) {
return new Date(time).toLocaleString();
});