When a datetime HTMLForm field has a default value (either specified manually via default, or taken from the request parameters) and the page loads, the field shows the selected date; however, upon clicking it, the day is not selected in the calendar. Below are reproduction steps for a specific instance of this bug, but really this isn't specific to any page.
Steps to replicate the issue (include links if applicable):
- Go to Special:AbuseLog
- In the search field, select any date as start date (you can also leave the default selection that is made when you click on the field)
- Click "Search"
- Once the page loads, click on the field again
What happens?:
No date is selected in the calendar.
What should have happened instead?:
The selected date should be highlighted in blue.