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

Selecting an already selected date in the date picker selects "1899/12/31 00:00" instead. #53

Open
frereit opened this issue Feb 22, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@frereit
Copy link
Member

frereit commented Feb 22, 2022

Steps to reproduce:

  1. Go to the Edit CTF dialog by creating a new CTF.
  2. Select a start date
    image
  3. Click the selected date
    image
  4. Observe that the date jumps to "1899/12/31 00:00".
@frereit frereit added the bug Something isn't working label Feb 22, 2022
@frereit
Copy link
Member Author

frereit commented Feb 22, 2022

This seems to be a bug caused by the date format used.

The value is stored as a string, and reading it back to a Date fails, so the picker defaults to 1899.

@JM-Lemmi
Copy link
Member

The fuck is this bug lol

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