mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
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
|
|
}
|
|
});
|
|
});
|