[Webkit-unassigned] [Bug 59752] Allow Localized Date Strings for Date Input Fields
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 29 16:55:14 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59752
--- Comment #15 from Kent Tamura <tkent at chromium.org> 2011-04-29 16:55:14 PST ---
(In reply to comment #13)
> Which is months, not msec, despite its name. Maybe the
> implementation of setMonthsSinceEpoch should actually
> take msec.
Ah, I understand your intention. Yes, Month of DateComponents is an exception for a double value, and LocalizedDate always uses milliseconds.
What we need is similar to setValueAsDate(parsedValue, ec).
The behavior of MonthInputType::setMillisecondToDateComponents() should be correct because HTMLInputElement and MonthInputType treats double values as the number of months though the name is wrong :-)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list