'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 William Minchin
parent 369df7d7e1
commit eb0d8d190e

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: