mirror of
https://github.com/thelounge/thelounge
synced 2024-12-21 01:43:07 +00:00
6 lines
121 B
JavaScript
6 lines
121 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Handlebars.registerHelper("localedate", function(time) {
|
||
|
return new Date(time).toLocaleDateString();
|
||
|
});
|