Hi Carl!

> Also, the 'strptime' hashref gets passed to
> DateTime::Format::Strptime->new(), which also accepts a 'time_zone'
> argument.
> Would it be a good idea to also pass along the inflator's 'time_zone',
> if there's not one set in the 'strptime' arguments?

I applied the patch (with tests+docs), along with what you suggested
here, which seems a good idea to me.
At present it just looks if there's a time_zone and add it to the
"strptime" arguments, which is probably what the user always want. We
could also handle (with another patch) the case where the user could
pass a time_zone for the inflated DateTime and a different one for the
Strptime formatter, but I wonder if such flexibility is necessary.

Michele.

-- 
Michele Beltrame
http://www.cattlegrid.info/
ICQ 76660101 - MSN [EMAIL PROTECTED]

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to