mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07: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
|
|
}
|
|
});
|
|
});
|