We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error
Traceback (most recent call last): File "/usr/bin/holiday_exporter.py", line 55, in <module> if date.fromisoformat(isodate) == date.today(): ValueError: Invalid isoformat string: '2020-1-01'
Using included yaml config (problem line)
... - date: "{YYYY}-{MM}-01" description: "Some event that repeats every month at specific day"
Isodate expects {MM} but now.month only gives us 1 causing the failure above.
now.month
1
isodate = custom_holiday['date'].upper().format(YYYY=now.year, MM=now.month)
The text was updated successfully, but these errors were encountered:
Thank you for bring this issue! I'm working in the fix and it will be available soon.
Sorry, something went wrong.
This bug is addressed on #3 Thank you very much for your collaboration!
9932ef3
No branches or pull requests
Error
Using included yaml config (problem line)
Isodate expects {MM} but
now.month
only gives us1
causing the failure above.The text was updated successfully, but these errors were encountered: