mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-01 03:42:41 +00:00
18 lines
392 B
JavaScript
18 lines
392 B
JavaScript
"use strict";
|
|
define(['app'], function () {
|
|
|
|
return Backbone.Model.extend({
|
|
defaults: {
|
|
'version' : '0.0.0.0',
|
|
'buildDate' : Date.create()
|
|
},
|
|
|
|
mutators: {
|
|
humanizedBuildDate: function () {
|
|
var date = Date.create(this.get('buildDate'));
|
|
|
|
return date.short();
|
|
}
|
|
}
|
|
});
|
|
});
|