From d10a58f32bb8ebbcd7016e1b8b0072839e70966f Mon Sep 17 00:00:00 2001 From: Andrea Orsini Date: Mon, 19 Sep 2016 11:14:14 -0400 Subject: Bug 1303702 - bug history table 'when' column shows 00:00 only using sqlite r/a=dylan --- Bugzilla/DB/Sqlite.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Bugzilla/DB/Sqlite.pm b/Bugzilla/DB/Sqlite.pm index e3cc93a82..0ba3bd9c8 100644 --- a/Bugzilla/DB/Sqlite.pm +++ b/Bugzilla/DB/Sqlite.pm @@ -218,6 +218,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)"; } -- cgit v1.2.3-24-g4f1b