From: Mateusz Kuśmierczyk Date: Tue, 3 Sep 2013 09:42:20 +0000 (+0200) Subject: Bug 848063: [Oracle] importxml.pl fails with ORA-01830: comment timestamps are not... X-Git-Tag: bugzilla-4.4.1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62200d04460116f41e58ffc8dc7561f1254fafbe;p=thirdparty%2Fbugzilla.git Bug 848063: [Oracle] importxml.pl fails with ORA-01830: comment timestamps are not correctly formatted r=LpSolit a=sgreen --- diff --git a/importxml.pl b/importxml.pl index 7a1181158d..f5b90fa9c0 100755 --- a/importxml.pl +++ b/importxml.pl @@ -481,7 +481,7 @@ sub process_bug { foreach my $comment ( $bug->children('long_desc') ) { Debug( "Parsing Long Description", DEBUG_LEVEL ); my %long_desc = ( who => $comment->field('who'), - bug_when => $comment->field('bug_when'), + bug_when => format_time($comment->field('bug_when'), '%Y-%m-%d %T'), isprivate => $comment->{'att'}->{'isprivate'} || 0 ); # If the exporter is not in the insidergroup, keep the comment public.