Skip to content
New issue

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

[BUG] day is out of range for month error when switching date style if date is last day of a month #171

Closed
hansemschnokeloch opened this issue Feb 9, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@hansemschnokeloch
Copy link

Describe the bug 🐛
If a due date is the last day of a month, switching date style raise a ValueError: days is out of range for month error

To Reproduce 🐣
Steps to reproduce the behavior:

  1. Enter a due date that is the last day of a month (example: 30-06-2024)
  2. Switch due date style with D key (shift d)
  3. See error

Screenshots 🧐
Capture d’écran du 2024-02-09 11-04-45

Desktop (please complete the following information): 🤖

  • OS: NixOS
  • Version 2.2.0
@hansemschnokeloch hansemschnokeloch added the bug Something isn't working label Feb 9, 2024
@kraanzu
Copy link
Member

kraanzu commented Feb 9, 2024

Ah, edge case. Thanks for opening the issue! I'll look into it :)

@kraanzu
Copy link
Member

kraanzu commented Nov 10, 2024

Closing this as this should be fixed.

@kraanzu kraanzu closed this as completed Nov 10, 2024
Copy link

Did we solve your problem?
Glad we could help!

Consider sponsoring my work through github sponsors 😄
@kraanzu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants