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

Dates below 1000 showing a leading zero? (or fixed already?) #985

Open
spookyahell opened this issue Sep 9, 2024 · 0 comments
Open

Dates below 1000 showing a leading zero? (or fixed already?) #985

spookyahell opened this issue Sep 9, 2024 · 0 comments
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working

Comments

@spookyahell
Copy link

Describe the bug
If it still even exists in this library... I spotted tagesschau.de using a version of this datepicker.

Year 0815 shows up, which if you consider the general meaning of 0815 in German is pretty funny.
(linked article only for those who understand German)
I want to travel to a more normal year. Someone just needs to invent that dang missing time machine.

Anyway, not sure why it's even set up to go further back than a few years, they use the calendar for their news program archive.
But year 815 showing a leading zero feels like it would be an upstream issue.

Anyway, sorry if this is sent in error, cause I'm not even 100% sure it's the right library.
But it feels like it is based on the playground vs the way their datepicker looks.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the year '815' (yes, really)
  2. Click on 'nothing else'
  3. Scroll down to 'no really, that's it'
  4. See "error" (display issue)

I'm not even saying a leading zero is mathematically wrong, it's not.
Just feels super weird. (And yes, I'd like to stay the only one who was able to travel to 0815)

PS: If you actually select a date lower than 1000, tagesschau.de will move away from the archive page.

Expected behavior
I expected not to write this at 3:38 a.m.
Oh, wait, in reference to the reported bug?
Maybe no leading zero(s). If that's an actual thing that still happens.

Screenshots
Yeah, I could. But I won't.

Desktop & mobile (please complete the following information):

  • Browser [e.g. chrome, safari]
  • Library version [e.g. 3.0.0]
@spookyahell spookyahell added awaiting triage The issue is not reviewed by the maintainers bug Something isn't working labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage The issue is not reviewed by the maintainers bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant