mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
Added build date to footer
This commit is contained in:
parent
d538fe62cf
commit
d3d937afcc
6 changed files with 18 additions and 6 deletions
|
@ -3,7 +3,16 @@ define(['app'], function () {
|
|||
|
||||
NzbDrone.Shared.Footer.Model = Backbone.Model.extend({
|
||||
defaults: {
|
||||
'version' : '0.0.0.0'
|
||||
'version' : '0.0.0.0',
|
||||
'buildDate' : Date.create()
|
||||
},
|
||||
|
||||
mutators: {
|
||||
humanizedBuildDate: function () {
|
||||
var date = Date.create(this.get('buildDate'));
|
||||
|
||||
return date.short();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue