Date coercion

Chris Bunch chris at bayswaterfarm.com
Wed May 28 14:52:23 PDT 2003


Thanks Jake -

Quick work! Now I'll have to delete my workaround. ;-)

Will you fix this in Radio as well? That¹s where I usually test things out.

C
__________________________________



> 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