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

Month selector picks wrong month #61

Open
mkst opened this issue May 21, 2020 · 3 comments
Open

Month selector picks wrong month #61

mkst opened this issue May 21, 2020 · 3 comments

Comments

@mkst
Copy link

mkst commented May 21, 2020

Describe the bug
Selecting a month beyond March chooses the wrong month

To Reproduce
Steps to reproduce the behavior:

  1. Go to example codepen from readme
  2. Click on 'Simple Date picker' area
  3. Click (e.g.) 2020.05 to choose new month
  4. Click e.g. June, note that date selected is 2020.04

Mapping appears to be:

Jan => Jan
Feb => Feb
Mar => Mar
Apr => Feb
May => Mar
Jun => Apr
July => Mar
Aug => Apr
Sep => May
Oct => Apr
Nov => May
Dec => Jun

Expected behaviour
I expect to select the month I click on.

Screenshots
n/a

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 81.0.4044.138 (Official Build) (64-bit)
@mkst
Copy link
Author

mkst commented May 21, 2020

ok, have stumbled across this commit to the dev branch that fixes my issue.

@ferjpi
Copy link

ferjpi commented May 28, 2020

there is any solution meanwhile? @streetster

@mkst
Copy link
Author

mkst commented Jun 9, 2020

@ferjpi - i think we've just got to wait for @y0c to merge dev into master and release a new version...

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

No branches or pull requests

2 participants