[hamster-applet] fixed slight misplacement in last commit
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] fixed slight misplacement in last commit
- Date: Thu, 22 Jul 2010 12:19:27 +0000 (UTC)
commit d7a683a326196ae57cd603263bd55d2835553912
Author: Toms Bauģis <toms baugis gmail com>
Date: Thu Jul 22 13:19:20 2010 +0100
fixed slight misplacement in last commit
src/hamster/db.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/db.py b/src/hamster/db.py
index c410a86..d13dc65 100644
--- a/src/hamster/db.py
+++ b/src/hamster/db.py
@@ -600,6 +600,8 @@ class Storage(storage.Storage):
split_time = day_start
datetime_from = dt.datetime.combine(date, split_time)
+
+ end_date = end_date or date
datetime_to = dt.datetime.combine(end_date, split_time) + dt.timedelta(days = 1)
query = """
@@ -630,7 +632,6 @@ class Storage(storage.Storage):
query += " ORDER BY a.start_time, e.name"
- end_date = end_date or date
facts = self.fetchall(query, (_("Unsorted"),
datetime_from,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]