Closed silviubogan closed 4 years ago
Hi there!
I think the issue is caused by the incorrect syntax. Could you please try typing 2d
(2 days) instead of 2
in the expiry date field? Without the d
character, that string will be treated as YYYY/MM/DD.
Here's what I mean:
Typing 2
instead of 2d
will cause an error:
/home/aesophor [aesophor@adagio] [7:37]
> todo -a
Title: throw a party
Expiry date (YYYY/MM/DD or <days>d) (Optional): 2
An error occurred while parsing your date.
Typing 2d
instead of 2
will successfully add an todo-item:
/home/aesophor [aesophor@adagio] [7:37]
> todo -a
Title: throw another party
Expiry date (YYYY/MM/DD or <days>d) (Optional): 2d
You have 4 items left on the reminder!
Hi!
It works with d
(although after a restart of the computer).
Now the output for a wrong input is:
~ > todo -a
Title: title
Expiry date (YYYY/MM/DD or <days>d) (Optional): 5
An error occurred while parsing your date.
I think that it is more beautiful than the one in the description of the issue.
Thank you!
I am not sure if the issue is in py-todo or in fish-prompt-metro. Also this is the fish-prompt-metro repo: https://github.com/fishpkg/fish-prompt-metro.
The issue:
The contents of
~/.config/fish/functions/fish_right_prompt.fish
are:The output of
fisher ls
is:Thank you.