Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Litepicker seems to suffer from BUG2000 #315

Open
robert777robert777 opened this issue Jan 22, 2023 · 0 comments
Open

Litepicker seems to suffer from BUG2000 #315

robert777robert777 opened this issue Jan 22, 2023 · 0 comments

Comments

@robert777robert777
Copy link

robert777robert777 commented Jan 22, 2023

Litepicker seems to suffer from BUG2000.
(and no, i'm not joking).

here is the code that causes it:
<input id="litepicker" value="01/01/00"/>

<script> const picker = new Litepicker({ format:'DD/MM/YY', element: document.getElementById('litepicker') }) </script>

`

clicking it choses the year 1900 instead of the expected 2000

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant