aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Kuśmierczyk <mateusz.kusmierczyk@gmail.com>2013-09-03 11:40:27 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-09-03 11:40:27 +0200
commit61ad334d16a176d5a011f4924674f9683c77a079 (patch)
treee34a16f4a434fda065361f9cd74119efd47e12b8
parent738cacaa640160fddbe82e3216e7ea5fcf65efa1 (diff)
downloadbugs-61ad334d16a176d5a011f4924674f9683c77a079.tar
bugs-61ad334d16a176d5a011f4924674f9683c77a079.tar.gz
bugs-61ad334d16a176d5a011f4924674f9683c77a079.tar.bz2
bugs-61ad334d16a176d5a011f4924674f9683c77a079.tar.xz
bugs-61ad334d16a176d5a011f4924674f9683c77a079.zip
Bug 848063: [Oracle] importxml.pl fails with ORA-01830: comment timestamps are not correctly formatted
r=LpSolit a=sgreen
-rwxr-xr-ximportxml.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl
index 4e78f093f..53b0e34fa 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -482,7 +482,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.