'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 08da5e01d8
commit 1c5ff1d5b8

View file

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