mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-31 22:09:07 +00:00
Fixed error when trying to display time
This commit is contained in:
@@ -12,7 +12,7 @@ define(
|
||||
render: function () {
|
||||
|
||||
var date = moment(this._getValue());
|
||||
this.$el.html('<span title="{1}">{0}</span>'.format(date.format(UiSettings.get('timeFormat')), date.format(UiSettings.longDateFormat())));
|
||||
this.$el.html('<span title="{1}">{0}</span>'.format(date.format(UiSettings.get('timeFormat').replace('(', '').replace(')', '')), date.format(UiSettings.longDateTime())));
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user