[Webkit-unassigned] [Bug 32876] HTMLInputElement::valueAsDate getter support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 23 04:04:57 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32876





--- Comment #13 from TAMURA, Kent <tkent at chromium.org>  2009-12-23 04:04:55 PST ---
(In reply to comment #12)
> > In general, for times WTF and WebCore use doubles that are in seconds since the
> > Unix epoch. I probably would suggest that ISODateTime do the same thing, and
> > then have the valueAsDate function multiply by 1000, because it's HTML5 that
> > does things in milliseconds. I like how the other code uses seconds, because
> > that works well with world standards. Things like milliseconds and microseconds
> > are derived from the base unit, "second". And I like having only one type of
> > time.
> 
> The comment is understandable, but I didn't change so.
> I feel the merit of the only-one-time-type for WebKit developers is not more
> important than the millisecond precision for world-wide users.

Ah, Darin meant representing a millisecond part as a fractional number, not
removing a millisecond part.

-- 
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