Commit fe2251f5 authored by Andrea Orsini's avatar Andrea Orsini Committed by Dylan William Hardison

Bug 1303702 - bug history table 'when' column shows 00:00 only using sqlite

r/a=dylan
parent 9c8ceda1
......@@ -219,6 +219,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)";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment