mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-19 20:48:31 +02:00
Standardize format for compare_d
This commit is contained in:
parent
640dbc0554
commit
9342f12664
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ class Journal:
|
|||
# Create datetime object for comparison below
|
||||
# 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}")
|
||||
compare_d = time.parse(f"{month or 1}.{day or 1}.{year or 1}")
|
||||
|
||||
result = [
|
||||
entry
|
||||
|
|
Loading…
Add table
Reference in a new issue