Date coercion
Chris Bunch
chris at bayswaterfarm.com
Wed May 28 11:13:52 PDT 2003
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