summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-11-22 17:42:24 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-11-22 17:42:24 +0100
commitb2cbd18450de1ff8fc74f0283bc20f2bbcdf7462 (patch)
tree3c06b3dbadea8b38e557784b95ffc9d7871b0624 /Bugzilla/DB
parent48f1c7dd3b0dbec024b973f590759178b7a42d0c (diff)
parentc6528d5819e6503c6772a3a8a17029cb892519b0 (diff)
downloadbugzilla-b2cbd18450de1ff8fc74f0283bc20f2bbcdf7462.tar.gz
bugzilla-b2cbd18450de1ff8fc74f0283bc20f2bbcdf7462.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Sqlite.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Sqlite.pm b/Bugzilla/DB/Sqlite.pm
index e13fd18e1..ee92909e3 100644
--- a/Bugzilla/DB/Sqlite.pm
+++ b/Bugzilla/DB/Sqlite.pm
@@ -226,7 +226,7 @@ sub sql_to_days {
sub sql_date_format {
my ($self, $date, $format) = @_;
- $format = "%Y.%m.%d %H:%M:%s" if !$format;
+ $format = "%Y.%m.%d %H:%M:%S" if !$format;
$format =~ s/\%i/\%M/g;
return "STRFTIME(" . $self->quote($format) . ", $date)";
}