DateTime Picker selecting February date returns March date

DateTime Picker selecting February date returns March date

amoso.misoamoso.miso Posts: 5Questions: 0Answers: 0

When selecting a February 2017 date, it instead returns a March date.

Steps to reproduce:
1. Go to date example page.
2. Click "New" button.
3. Select a February 2017 date.

Replies

  • allanallan Posts: 63,844Questions: 1Answers: 10,518 Site admin

    Thank you for brining this up. The problem appears to be that when the current day is 31st, and you select a date in February, its initially trying to set the day before the month, which pushes it into March (since Feb only has 28 days this year).

    That was a bug I knew about a while back and thought I had it fully addressed. But obviously not - apologies. I'll post an update here when I have it fixed.

    Allan

  • allanallan Posts: 63,844Questions: 1Answers: 10,518 Site admin

    I've just committed a fix for this and dropped you a PM with the update. It will be released as part of 1.6.2 in the next few weeks.

    Regards,
    Allan

This discussion has been closed.