aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/quarg/database/filters.py
diff options
context:
space:
mode:
Diffstat (limited to 'quarg/database/filters.py')
-rw-r--r--quarg/database/filters.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/quarg/database/filters.py b/quarg/database/filters.py
index ee2b3fb..a78b117 100644
--- a/quarg/database/filters.py
+++ b/quarg/database/filters.py
@@ -35,11 +35,11 @@ def time_around(datetuple):
start, end = datetuple
return between(Backlog.time, start, end)
-def time_from(start):
- return Backlog.time >= start
+def time_after(date):
+ return Backlog.time >= date
-def time_to(end):
- return Backlog.time <= end
+def time_before(date):
+ return Backlog.time <= date
def joined(boolean):
return Buffer.joined == boolean