: And DateFormatTransformer does not take timezone into account when it
: parses the text. A bit of a stuck situation.

Gah! .. i'm sorry about my previous response pointing to the wiki .... I 
realize now that I missread the docs and replied to quickly.

Alex's response appears correct -- evidently DateFormatTransformer seems 
to use the system timezone (ie: the TZ your server is running in) when 
parsing dates (unless your date format actually includes a timezone 
option).

: 2) Chain TemplateTransformer either by itself or before the
: DateFormatTransformer (not sure if evaluator spits the date out or
: not). Either way, I think you should be able to use the formatDate
: function in the transformer

That sounds correct .. it should be possible to use TemplateTransformer 
(or something like RegexTransformer) prior to DateFormatTransformer so 
that the value you extract from the xpath (ie: "5/13") gets the literal 
string " UTC" appended to it, and then configure a dateTimeFormat that 
parses the timezone from the value (ie: "MM/yy z")


-Hoss

Reply via email to