mirror of
https://github.com/thelounge/thelounge
synced 2024-12-22 18:33:12 +00:00
7 lines
123 B
JavaScript
7 lines
123 B
JavaScript
Handlebars.registerHelper(
|
|
"localeDate", function(date) {
|
|
date = new Date(date);
|
|
|
|
return date.toLocaleString();
|
|
}
|
|
);
|