Hello Andy,

Sorry to bring this up again. I noticed you put a different response in the 
bug tracker though. I just want to confirm that something funky was going 
on in openbd or if there is something wrong with my own install/setup/code.

On Saturday, May 18, 2013 2:51:50 PM UTC-5, Andy Wu wrote:
>
>  Aaron,
>
> I'm running the very latest code and cannot reproduce the issue.
>
> That's very odd behaviour. There's certainly nothing special about 
> 'expires'.
>
> Andy
>
> On 13/05/2013 02:59, Aaron J. White wrote:
>  
> @Alan: Ok. But is there a reason I can't name a variable *expires* with 
> the dateAdd function? Can someone confirm they are getting the same results 
> with the nightly?
>
> On Saturday, May 11, 2013 11:15:56 AM UTC-5, Aaron J. White wrote: 
>>
>> Hey guys, 
>>
>>  I was using the dateAdd function to create dates for header values and 
>> noticed using the function with a variable named "expires" makes the 
>> function work incorrectly.
>> I am on the current 5-01 nightly.
>> Is expires a keyword or something or is this a bug?
>>
>>  Test case: 
>>
>>  <cfset normal = dateAdd("yyyy", +1, now()) />
>> <cfset expires= dateAdd("yyyy", +1, now()) />
>> <cfset expires2 = dateAdd("yyyy", +1, now()) />
>>  
>>  now : <cfdump var="#now()#" expand="false" /><br />
>> normal : <cfdump var="#normal#" expand="false" /><br />
>> expires : <cfdump var="#expires#" expand="false" /><br />
>> expires2 : <cfdump var="#expires2#" expand="false" />
>>  
>>  my output:
>>
>>  now : {ts '2013-05-11 10:08:02'}
>> normal : {ts '2014-05-11 10:08:02'}
>> expires : *{ts '1959-02-19 11:36:10'}*
>> expires2 : {ts '2014-05-11 10:08:02'}
>>  
> -- 
> -- 
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>
>  

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to