Do not truncate day of week names.

yahoo_weather
simon04 14 years ago
parent 9f6ddd99eb
commit ec9dc7a3f1
  1. 2
      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) {

Loading…
Cancel
Save