All dates parsed by DateTime::Format::Oracle have their time zone invariably set to UTC. Is there any special reason for it? I found it pretty annoying since I am used to store dates in db in local (CET) timezone.
Could not it be possible to introduce some package configuration option and place it here: package DateTime::Format::Oracle; ...... sub _create_parser_method { # takes a strptime format, returns a parser method code ref my ( $self, $date_format ) = @_; my %parse_date = ( strptime => { pattern => $date_format, time_zone => $CONFIGURATED_TIMEZONE} ); my $parser = DateTime::Format::Builder->create_parser(\%parse_date); return DateTime::Format::Builder->create_method($parser); } Thanks for any reply Roman Daniel