From: Andrea Orsini Date: Mon, 19 Sep 2016 15:14:14 +0000 (-0400) Subject: Bug 1303702 - bug history table 'when' column shows 00:00 only using sqlite X-Git-Tag: release-4.4.13~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a6446788ec456517666c83453df553b2f3320d;p=thirdparty%2Fbugzilla.git Bug 1303702 - bug history table 'when' column shows 00:00 only using sqlite r/a=dylan --- diff --git a/Bugzilla/DB/Sqlite.pm b/Bugzilla/DB/Sqlite.pm index 47cb0cd25c..3470ffc126 100644 --- a/Bugzilla/DB/Sqlite.pm +++ b/Bugzilla/DB/Sqlite.pm @@ -215,6 +215,7 @@ sub sql_date_format { my ($self, $date, $format) = @_; $format = "%Y.%m.%d %H:%M:%S" if !$format; $format =~ s/\%i/\%M/g; + $format =~ s/\%s/\%S/g; return "STRFTIME(" . $self->quote($format) . ", $date)"; }