Look ma, history!

This commit is contained in:
Mark McDowall 2013-05-10 15:33:04 -07:00
parent 3602822572
commit d320c2b6a9
12 changed files with 62 additions and 56 deletions

View file

@ -7,7 +7,7 @@ define(['app'], function () {
return bestDateString(this.get('airDate'));
},
paddedEpisodeNumber: function () {
return this.get('episodeNumber');
return this.get('episodeNumber').pad(2);
},
day : function () {
return Date.create(this.get('airDate')).format('{dd}');