mirror of https://github.com/Sonarr/Sonarr
19 lines
439 B
JavaScript
19 lines
439 B
JavaScript
"use strict";
|
|
define(['app'], function () {
|
|
NzbDrone.Series.EpisodeModel = Backbone.Model.extend({
|
|
|
|
mutators: {
|
|
bestDateString : function () {
|
|
return bestDateString(this.get('airDate'));
|
|
},
|
|
paddedEpisodeNumber: function () {
|
|
return this.get('episodeNumber');
|
|
}
|
|
},
|
|
|
|
defaults: {
|
|
seasonNumber: 0
|
|
}
|
|
});
|
|
});
|