mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 18:17:13 +00:00
18 lines
439 B
JavaScript
18 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
|
|
}
|
|
});
|
|
});
|