mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Added build date to footer
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user