# kill off all of the date/time related bits in the serializer.
my $typelookup = $soap->serializer()->{_typelookup};
for my $key (keys %{$typelookup}) {
- next unless defined $_ and /Month|Day|Year|date|time|duration/i;
- delete $typelookup->{$key};
+ delete $typelookup->{$key} if defined $key and $key =~ /Month|Day|Year|date|time|duration/i;
}
our $warnings = '';