summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
authorMateusz Kuśmierczyk <mateusz.kusmierczyk@gmail.com>2013-09-03 11:45:44 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-09-03 11:45:44 +0200
commit869706f19fa2646b600a3a6d681fa4d2c797b0d2 (patch)
tree128378ea9d4824c6bf886ebc883eb9b4f2a3142b /importxml.pl
parente651ee9c34ca40afdd4582902c1656ea577a4fc3 (diff)
downloadbugzilla-869706f19fa2646b600a3a6d681fa4d2c797b0d2.tar.gz
bugzilla-869706f19fa2646b600a3a6d681fa4d2c797b0d2.tar.xz
Bug 848063: [Oracle] importxml.pl fails with ORA-01830: comment timestamps are not correctly formatted
r=LpSolit a=sgreen
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl
index 896848b0a..50f639fc5 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -498,7 +498,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.