diff options
author | Andrea Orsini <andrea.orsini@oracle.com> | 2016-09-19 17:14:14 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2016-09-19 17:14:44 +0200 |
commit | d10a58f32bb8ebbcd7016e1b8b0072839e70966f (patch) | |
tree | 27ecb235bd0dad61e80362fa82e33e2fe3810bda | |
parent | c67b3b303adba379f3625aa88a61d5fb49bd319d (diff) | |
download | bugzilla-d10a58f32bb8ebbcd7016e1b8b0072839e70966f.tar.gz bugzilla-d10a58f32bb8ebbcd7016e1b8b0072839e70966f.tar.xz |
Bug 1303702 - bug history table 'when' column shows 00:00 only using sqlite
r/a=dylan
-rw-r--r-- | Bugzilla/DB/Sqlite.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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)"; } |