Misc changes

This commit is contained in:
karimpwnz 2021-01-03 22:26:37 +02:00
parent 20e71946b7
commit d15d7daa97
2 changed files with 2 additions and 2 deletions

View file

@ -224,7 +224,7 @@ class Journal:
contains_lower = contains.casefold()
# Create datetime object for comparison below
# this approach allows different month formats
# this approach allows various formats
if month or day or year:
compare_d = time.parse(f"{month or 1}/{day or 1}/{year or 1}")

View file

@ -198,7 +198,7 @@ def parse_args(args=[]):
"-year",
dest="year",
metavar="DATE",
help="Show entries on this year",
help="Show entries of a specific year",
)
reading.add_argument(
"-from",