Cleaned up time formatting

This commit is contained in:
Mark McDowall 2014-08-05 07:30:44 -07:00
parent 0a8dcaaf16
commit b0c45aef50
4 changed files with 13 additions and 10 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.get('timeFormat').replace('(', '').replace(')', '')), date.format(UiSettings.longDateTime())));
this.$el.html('<span title="{1}">{0}</span>'.format(date.format(UiSettings.time(true)), date.format(UiSettings.longDateTime())));
return this;
}