[ic] Tag Time Adjust - strange behaviour

Bruno Cantieni interchange-users@icdevgroup.org
Fri Jun 14 08:20:02 2002


Today is Friday, June 14, 2002

For [scratch TimeTmp] = 24

[seti TimeFinal][time adjust="[scratch TimeTmp]"]%A, %B %d, %Y[/time][/seti]

will properly produce Saturday, June 15, 2002

For [scratch TimeTmp] = 48

[seti TimeFinal][time adjust="[scratch TimeTmp]"]%A, %B %d, %Y[/time][/seti]

will properly produce Sunday, June 16, 2002

etc. etc...

Now try it with values such as 100, 200, 300 ... 600 for [scratch TimeTmp].

I keep getting Friday, June 14, 2002 (unadjusted current date) for values like that!!!!

Since my [scratch TimeTmp] is generated in a perl block algorithm I have to do 

$Scratch->{TimeTmp} += 1;

to get past this "buggy" behaviour.

Anyone else noticed this or can shed some light on the matter??



Thanks,

Bruno



###########################################
Bruno Cantieni
Digital Landscape - Cyboretum.com
Web Applications * Web Hosting * e-Commerce
http://www.digi-land.com
http://www.cyboretum.com
bruno@digi-land.com
Phone/Fax: 905.668.2255