[gnome-weather] WeeklyForecast: don't skip tomorrow
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] WeeklyForecast: don't skip tomorrow
- Date: Thu, 12 Mar 2015 01:52:13 +0000 (UTC)
commit 9a6cb37d6b2491110d7f2fe21db2c935cdfff760
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed Mar 11 18:49:24 2015 -0700
WeeklyForecast: don't skip tomorrow
I don't know why we're skipping tomorrow, but it definitely makes
sense to have a quick glance, given that tomorrow is most of
the time hidden under a button.
https://bugzilla.gnome.org/show_bug.cgi?id=741532
src/app/weeklyForecast.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/app/weeklyForecast.js b/src/app/weeklyForecast.js
index 46dc4f1..7220a09 100644
--- a/src/app/weeklyForecast.js
+++ b/src/app/weeklyForecast.js
@@ -93,7 +93,7 @@ const WeeklyForecastFrame = new Lang.Class({
update: function(infos) {
let day = GLib.DateTime.new_now_local();
- day = day.add_days(2);
+ day = day.add_days(1);
let weeklyInfo = this._preprocess(infos, day);
this.clear();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]