'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
parent a9cef019ad
commit b2aeb04b78

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: