Skip to content

Commit

Permalink
Bug 1303702 - bug history table 'when' column shows 00:00 only using …
Browse files Browse the repository at this point in the history
…sqlite

r/a=dylan
  • Loading branch information
AndreaOrsini authored and dylanwh committed Sep 19, 2016
1 parent c67b3b3 commit d10a58f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Bugzilla/DB/Sqlite.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
}

Expand Down

0 comments on commit d10a58f

Please sign in to comment.