mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Misc changes
This commit is contained in:
parent
20e71946b7
commit
d15d7daa97
2 changed files with 2 additions and 2 deletions
|
@ -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}")
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue