Date coercion

Jake Savin jake at userland.com
Wed May 28 14:45:34 PDT 2003


Hi Chris,

This was indeed a bug. A fix has been released. To get the fix, update 
Frontier.root.

Thanks,
-Jake

On Wednesday, May 28, 2003, at 11:13 AM, Chris Bunch wrote:

> According to DocServer (http://docserver.userland.com/coercion/date),
> coercing to a date should fail with an error if the object being 
> coerced is
> not of the appropriate type.
>
> This appears not to work as billed omm (Mac OS X).
> Try the following in QuickScript:
>
> date("31-Jan-2002")  -- works OK, displays appropriate date string
> date("31-Feb-2002")  -- returns true: does not throw an error
> date("garbage")      -- returns true: does not throw an error
>
> Does DocServer need updating or is this a Bug?
>




More information about the Frontier-Users mailing list