No, DateTime objects returned don't have floating time zone (which would be more OK), but UTC.
[dani...@irsay danielr]$ cat /tmp/try_tz.pl #use lib qw(/tmp/); use strict; use DateTime::Format::Oracle; my $dt = DateTime::Format::Oracle->parse_datetime('2009-11-03 12:23:33'); warn $dt->time_zone; [dani...@irsay danielr]$ perl /tmp/try_tz.pl DateTime::TimeZone::UTC=HASH(0x806aea4) at /tmp/try_tz.pl line 5. Otherwise I agree with default time zone. Roman Daniel 2009/11/30 Nathan Gray <kolib...@graystudios.org> > On Mon, Nov 30, 2009 at 11:55:46AM +0100, Roman Daniel wrote: > > All dates parsed by DateTime::Format::Oracle have their time zone > invariably > > set to UTC. > > The DateTime objects returned have a 'floating' time zone, since > DateTime::Format::Oracle does not do any time zone setting. > > If the date string contains time zone information, > DateTime::Format::Oracle can attempt to parse it, but the > underlying DateTime::Format::Builder seems to have problems with > some time zone strings. > > I have often thought it would be nice to be able to specify a > default time zone for DateTime, to use instead of floating. This > should probably be implemented somewhere so that it can be > available to DateTime itself, and all formatting modules. > > Any thoughts from the list at large? > > -kolibrie > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAksUD5wACgkQYlZScpXqKgQvGwCferr9V0kKgJT9ICjQ78M2NjWx > PcwAn3/eb2sxFz6YkIV0hutIGqCGQMhl > =xlq6 > -----END PGP SIGNATURE----- > >