Closed Bug 1789604 Opened 3 years ago Closed 2 years ago

month and year is incremented by one in a date picker when choosing month

Categories

(Core :: DOM: Forms, defect)

Firefox 104
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: lastp, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

<input type="date" value="2022-09-07">
Click on the input box to show the date picker. Then click on September 2022.

Actual results:

It's changed to October 2023.

Expected results:

The selected month and date should not change.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Forms' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Forms
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: month and year is incremented by one in a date picker → month and year is incremented by one in a date picker when choosing month
Severity: -- → S3

Confirmed in Firefox 108.

I was not able to reproduce the bug in Firefox 111.0a1 - the bug was likely resolved by the datepicker accessibility updates for the bug 1676068 and the spinner browser tests are covering the click use case.

Nominating to close this bug as fixed

Depends on: 1676068, 1803664
Flags: needinfo?(hsivonen)

I agree that this bug can be closed as fixed.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(hsivonen)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.