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

Year is incorrect when using date-fns #790

chrise86 opened this Issue Sep 11, 2018 · 0 comments


1 participant

chrise86 commented Sep 11, 2018

Considering the following example which uses date parsing with date-fns:

Initially, dates are rendered correctly:

screen shot 2018-09-11 at 16 00 22

However, after selecting a day the year is wrong:

screen shot 2018-09-11 at 16 01 30

UPDATE: looks like I need to use yyyy instead of YYYY.

@chrise86 chrise86 changed the title from Formatting date breaks `firstDayOfWeek` to Year is incorrect when using date-fns Sep 11, 2018

@chrise86 chrise86 closed this Sep 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment