Re: File API | lastModified and Date attribute change

On 02/12/2013 23:26 , Arun Ranganathan wrote:
> Mozilla is willing to remove lastModifiedDate completely, and migrate
> developers to file.lastModified, which is an attribute that returns
> an integer (long long) representing milliseconds since the epoch.
> The Date API provides syntactic sugar for working with these
> integers, so I don't think the developer ergonomics resulting from
> the move from a Date object to an integer are too bad.

Well, the developer ergonomics (and many other aspects) of Date in 
general are, well, let's just say "pretty bad", but that's not the File 
API's issue to solve so +1.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Tuesday, 3 December 2013 10:55:22 UTC