'jrnl -from' times now match greater/less than or equal to start and end times

This commit is contained in:
Ryan Plyler 2014-07-02 21:43:38 +08:00 committed by Manuel Ebert
parent f3871aab02
commit 85826ca77b

View file

@ -220,8 +220,8 @@ class Journal(object):
entry for entry in self.entries entry for entry in self.entries
if (not tags or tagged(entry.tags)) if (not tags or tagged(entry.tags))
and (not starred or entry.starred) and (not starred or entry.starred)
and (not start_date or entry.date > start_date) and (not start_date or entry.date >= start_date)
and (not end_date or entry.date < end_date) and (not end_date or entry.date <= end_date)
] ]
if short: if short:
if tags: if tags: