W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22824] Remove Date from WebIDL

From: <bugzilla@jessica.w3.org>
Date: Wed, 07 Aug 2013 17:41:54 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22824-3890-Jwcd38K8JV@http.www.w3.org/Bugs/Public/>

Mounir Lamouri <mounir@lamouri.fr> changed:

           What    |Removed                     |Added
                 CC|                            |mounir@lamouri.fr

--- Comment #3 from Mounir Lamouri <mounir@lamouri.fr> ---
(In reply to comment #2)
> Ah, indeed. Based on the es-discuss conversation, I wonder if we should try
> to remove that function and instead introduce valueAsTimestamp().

I think that .valueAsNumber() does what you would like .valueAsTimestamp() to

This said, I am not convinced that not using Date in Web APIs is a good thing.
It is not very developer friendly to use raw types such as timestamps.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 7 August 2013 17:41:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:17 UTC