1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Calendar fixes

This commit is contained in:
Mark McDowall 2014-11-29 01:28:50 -08:00
parent 3b3066ed47
commit 7f640caa22
3 changed files with 411 additions and 737 deletions

View File

@ -69,6 +69,6 @@ define(
return ''; return '';
} }
return moment(input).format('LTS'); return moment(input).format('h:mm:ss A');
}); });
}); });

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ define(
var age = this.model.get('age'); var age = this.model.get('age');
var ageHours = this.model.get('ageHours'); var ageHours = this.model.get('ageHours');
var published = moment(this.model.get('publishDate')); var published = moment(this.model.get('publishDate'));
var publishedFormatted = published.format('{0} LTS'.format(UiSettings.get('shortDateFormat'))); var publishedFormatted = published.format('{0} h:mm:ss A'.format(UiSettings.get('shortDateFormat')));
var formatted = age; var formatted = age;
var suffix = this.plural(age, 'day'); var suffix = this.plural(age, 'day');