Closed Bug 1371288 Opened 8 years ago Closed 8 years ago

Month selector for input type=date is one off

Categories

(Core :: Layout: Form Controls, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jashaj, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170518000419 Steps to reproduce: enable date fields: dom.forms.datetime=true Add date input field to a form: <label for="date">Date</label><input type="date" name="date" id="date"/> Go to the date field A calendar pops up Click on the Month/year in the calendar Two spinners appear to select a month or year Choose a month Actual results: An incorrect month is chosen: the next month. When you click on "Mar" in the spinner, it enters month "04" in the input field and shows April above the calendar. Expected results: It should enter the month in the input field that you have selected in the Month/year spinners.
I was able to reproduce this in 53.0, but as of 54.0 this was no longer the case. I couldn't find a bug report, but I'm thinking this has been fixed already.
I can confirm it also works for me in 54.0.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: