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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to