Fixed: Use 24 hour time when configured

This commit is contained in:
Mark McDowall 2014-12-26 13:09:43 -08:00
parent 85f7195d57
commit 158e20bfe7
4 changed files with 13 additions and 9 deletions

View file

@ -12,7 +12,7 @@ define(
render: function () {
var date = moment(this._getValue());
this.$el.html('<span title="{1}">{0}</span>'.format(date.format(UiSettings.time(true)), date.format(UiSettings.longDateTime())));
this.$el.html('<span title="{1}">{0}</span>'.format(date.format(UiSettings.time(true, false)), date.format(UiSettings.longDateTime(true))));
return this;
}