Independent Date and Time objects/ISO Dates

Brendan Eich brendan at
Wed May 23 02:55:10 PDT 2007

On May 16, 2007, at 10:37 AM, Lars T Hansen wrote:

> Ah.  No, we've not talked about doing that, and you don't get to set a
> bit on the Date object that says "the time does not matter".  I
> suppose you could,  but I don't (yet) know what the consequences are.
> For backwards compatibility a date string probably needs to yield a
> Date object with a time.  For ISO strings we could conceivably do
> something different, but I'm not sure about that.

We're talking about this thread in the TG1 meeting now. It would help  
us to see how you've worked around Date to meet your use-cases. We  
think a few lines of JS can force a fit, but we're interested to see  
what you did. We don't plan to add a strftime-like API, but if we're  
right about the few-lines scale of adaptation, that might fit in a  
standard method or two.


More information about the Es4-discuss mailing list