Using span for formatted date
This commit is contained in:
parent
c7741e41b2
commit
4c16aea932
|
@ -32,7 +32,7 @@ define(['app'], function () {
|
||||||
|
|
||||||
var shortDate = Date.create(date).short();
|
var shortDate = Date.create(date).short();
|
||||||
var formattedDate = NzbDrone.Shared.FormatHelpers.DateHelper(date);
|
var formattedDate = NzbDrone.Shared.FormatHelpers.DateHelper(date);
|
||||||
var result = '<div title="' + shortDate + '">' + formattedDate + '</div >';
|
var result = '<span title="' + shortDate + '">' + formattedDate + '</span>';
|
||||||
|
|
||||||
return new Handlebars.SafeString(result);
|
return new Handlebars.SafeString(result);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue