From 7ce8a4fc4556b6441d404ca097a24e48f7873f2d Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 16 Sep 2012 13:21:01 +0200 Subject: [PATCH] Show proper date in update info --- couchpotato/static/scripts/page/about.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/static/scripts/page/about.js b/couchpotato/static/scripts/page/about.js index 8ac38ba..d155800 100644 --- a/couchpotato/static/scripts/page/about.js +++ b/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); }