Closed Bug 1387056 Opened 8 years ago Closed 8 years ago

[DateTimePicker] Default start date is 'today's date" if web author doesn't set start date

Categories

(Core :: Layout: Form Controls, defect)

57 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox57 --- affected

People

(Reporter: roxana.leitan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file date preset step.html
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170802100302 [Affected versions]: Nightly 57.0a1 [Affected platforms]: Mac OS X 10.12, Windows 10 X64 [Steps to reproduce]: 1.Launch Nightly 57.0a1 with a new profile 2.Set "dom.forms.datetime.timepicker" pref to True in about:config 3.Open the attached HTML 4.Click to trigger picker [Expected result]: Default start date should be 1970-01-01 (please see : https://mozilla.invisionapp.com/share/GU7VBIB4D#/screens/171579745 / B section ) [Actual result]: Default start date is 'today's date"
What the spec means is that the start date for step should be 1970-01-01 if no min or value is specified, as in it will start counting days from 1970-01-01. Whereas the date where the calendar opens to is not in spec, and we set it to current month for ease of use. I would say this bug is invalid.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: