mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +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
|
# Create datetime object for comparison below
|
||||||
# this approach allows various formats
|
# this approach allows various formats
|
||||||
if month or day or year:
|
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 = [
|
result = [
|
||||||
entry
|
entry
|
||||||
|
|
Loading…
Add table
Reference in a new issue