Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Time Adjust and Tag Time (Perl)



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


Search for: Sort by: