mirror of
https://github.com/thelounge/thelounge
synced 2024-12-21 01:43:07 +00:00
7 lines
146 B
JavaScript
7 lines
146 B
JavaScript
|
Handlebars.registerHelper(
|
||
|
"tz", function(time) {
|
||
|
var utc = moment.utc(time, "HH:mm:ss").toDate();
|
||
|
return moment(utc).format("HH:mm");
|
||
|
}
|
||
|
);
|