This commit is contained in:
David Wittman 2017-04-16 02:25:40 +00:00 committed by GitHub
commit ea2003a114

View file

@ -228,7 +228,8 @@ def run(manual_args=None):
else: else:
old_entries = journal.entries old_entries = journal.entries
if args.on_date: if args.on_date:
args.start_date = args.end_date = args.on_date args.start_date = args.on_date
args.end_date = args.on_date + ' 23:59'
journal.filter(tags=args.text, journal.filter(tags=args.text,
start_date=args.start_date, end_date=args.end_date, start_date=args.start_date, end_date=args.end_date,
strict=args.strict, strict=args.strict,