Browse Source

Show proper date in update info

pull/834/head
Ruud 13 years ago
parent
commit
7ce8a4fc45
  1. 2
      couchpotato/static/scripts/page/about.js

2
couchpotato/static/scripts/page/about.js

@ -116,7 +116,7 @@ var AboutSettingTab = new Class({
if(!json) return;
var self = this;
var date = new Date(json.version.date * 1000);
self.version_text.set('text', json.version.hash + ' ('+date.toUTCString()+')');
self.version_text.set('text', json.version.hash + (json.version.date ? ' ('+date.toLocaleString()+')' : ''));
self.updater_type.set('text', json.version.type);
}

Loading…
Cancel
Save