Re: Dates in HTML 5

On Thu, 28 Jun 2007, Thomas Broyer wrote:
> 
> So how about:
> * changing document.lastModified to a Date (or DOMTimeStamp)
> * requiring that in ECMAScript bindings, toString() uses the
> "MM/dd/yyyy HH:mm:ss" format (I know ECMAScript says the format is
> implementation-dependent, but why couldn't we enforce it when used in
> HTML?)

If you can convince implementors to do this, I'm happy to update the spec.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Thursday, 28 June 2007 20:37:34 UTC