1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed error when trying to display time

This commit is contained in:
Mark McDowall 2014-08-05 06:33:05 -07:00
parent cd66f8f198
commit 0a8dcaaf16

View File

@ -12,7 +12,7 @@ define(
render: function () { render: function () {
var date = moment(this._getValue()); 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; return this;
} }