1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Missing/MissingModel.js

14 lines
382 B
JavaScript
Raw Normal View History

2013-03-30 22:33:41 +03:00
"use strict";
define(['app'], function () {
2013-03-21 06:02:57 +03:00
NzbDrone.Missing.MissingModel = Backbone.Model.extend({
mutators: {
bestDateString : function () {
2013-03-21 06:02:57 +03:00
return bestDateString(this.get('airDate'));
},
paddedEpisodeNumber: function () {
2013-03-21 06:02:57 +03:00
return this.get('episodeNumber');
}
}
});
});