1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-08 07:16:11 +00:00
Lidarr/UI/Shared/Footer/Model.js

21 lines
458 B
JavaScript
Raw Normal View History

2013-06-15 04:02:40 +00:00
"use strict";
define(['app'], function () {
NzbDrone.Shared.Footer.Model = Backbone.Model.extend({
defaults: {
2013-06-15 22:18:41 +00:00
'version' : '0.0.0.0',
'buildDate' : Date.create()
},
mutators: {
humanizedBuildDate: function () {
var date = Date.create(this.get('buildDate'));
return date.short();
}
2013-06-15 04:02:40 +00:00
}
});
return NzbDrone.Shared.Footer.Model;
});