mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Fixed: Use 24 hour time when configured
This commit is contained in:
parent
85f7195d57
commit
158e20bfe7
4 changed files with 13 additions and 9 deletions
|
@ -61,7 +61,7 @@ define(
|
|||
return '';
|
||||
}
|
||||
|
||||
return moment(input).format(UiSettings.time(false));
|
||||
return moment(input).format(UiSettings.time(false, false));
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('LTS', function (input) {
|
||||
|
@ -69,7 +69,7 @@ define(
|
|||
return '';
|
||||
}
|
||||
|
||||
return moment(input).format('h:mm:ss A');
|
||||
return moment(input).format(UiSettings.time(true, true));
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('if_today', function(context, options) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue