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