From ec9dc7a3f104dbe1485e49fbdbe0d0b8f8f2d46d Mon Sep 17 00:00:00 2001 From: simon04 Date: Fri, 3 Jun 2011 22:20:21 +0200 Subject: [PATCH] Do not truncate day of week names. --- src/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.js b/src/extension.js index 0d55854..0fbaf3e 100644 --- a/src/extension.js +++ b/src/extension.js @@ -379,7 +379,7 @@ WeatherMenuButton.prototype = { get_locale_day: function(abr) { let days = [_('Monday'), _('Tuesday'), _('Wednesday'), _('Thursday'), _('Friday'), _('Saturday'), _('Sunday')]; - return days[this.parse_day(abr)].substr(0, abr.length); + return days[this.parse_day(abr)]; }, load_json: function(url) {