React-datepicker: Problem with datepicker on firefox with october month

Created on 10 Oct 2017  路  8Comments  路  Source: Hacker0x01/react-datepicker

Whenever October month is shown there is a bug which does not show all days, it can be seen it on mainpage of react-datepicker . https://hacker0x01.github.io/react-datepicker/

Both 2017 and 2018 are wrong on displaying all days as we can see on images attached
screen shot 2017-10-10 at 13 03 40

screen shot 2017-10-10 at 13 01 13

This only happens on firefox so far.

wontfix

Most helpful comment

Hi, i'm having this issue in Firefox as well. Using 56.0.1.
Worth mentioning that in October, in Brazil (GMT-3) we have daylight saving time beginning. Maybe it's a problem with moment.js.

All 8 comments

What version of Firefox are you using?

I just tried with Firefox 55.0.3, and it looks normal to me.

I've just check my version, and it's a little bit old.. I'm using 46.0.1 . I will update and check it out

I've just updated to 56.0.1 and still happening to me
screen shot 2017-10-10 at 13 28 28

Hi, i'm having this issue in Firefox as well. Using 56.0.1.
Worth mentioning that in October, in Brazil (GMT-3) we have daylight saving time beginning. Maybe it's a problem with moment.js.

That seems like a good clue. In the screenshot the calendar is displaying duplicate rows for the week of 8-14, probably due to incorrect day arithmetic around DST.

@gabriel-card Can you check whether #1066 fixes it for you?

@aij hi!
Just tested from master, didn't fix. Could it be moment.js's locale settings?

edit: just saw my code, i'm setting it globally to 'pt-br', so it should work just fine. This is mindbogging.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ali-master picture ali-master  路  3Comments

jbccollins picture jbccollins  路  3Comments

ericreis picture ericreis  路  3Comments

sarav1234 picture sarav1234  路  3Comments

ahribori picture ahribori  路  3Comments