[ic] Time Adjust and Tag Time (Perl)

Mike Heins interchange-users@icdevgroup.org
Sat Jun 8 14:49:01 2002


Quoting Bruno Cantieni (bruno@digi-land.com):
> I have scrounged around for documentation on $Tag->time($locale,
> $ATTRHASH, $BODY), but can not find how to pass an "adjust"
> (equivalent to [time adjust=n]FormatSting[/time]. Taking a guess by
> looking at $Tag->time( '', { format => '%Y' }, '%Y' ) used in the
> credit card expiry year dropdown and trying $Tag->time( '', { adjust
> => '$x' }, '%A, %B %d, %Y' ) does not appear to work.

A variable inside single quotes will not be evaluated. Your call looks
correct otherwise.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting
phone +1.513.523.7621      <mike@perusion.com>

Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown