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

@ -61,11 +61,6 @@ define(
return '';
}
var date = moment(input);
if (date.format('mm') === '00') {
return date.format('ha');
}
return date.format('h:mma');
return moment(input).format(UiSettings.time(false));
});
});