Re: Updates to FileAPI

On 11/12/10 11:48 AM, Tab Atkins Jr. wrote:
> Plus if you're going to do any actual work with it - there's no sense
> parsing a date string just so you check if the file was modified more
> than a week ago, when you could do it directly with a Date.

OK, then we need to define rules for instantiating a Date object here 
(in the face of strings that may or may not be valid date format 
strings, or may be ambiguous, note).  Is the proposal to just call new 
Date(str)?

-Boris

Received on Friday, 12 November 2010 16:54:18 UTC