Commit f7c62cc0 authored by Igor Drozdov's avatar Igor Drozdov

Make daily report date format more flexible

In Rails 6.1 the string format for a date is returned when
we apply Arel manipulations.

Let's make sure that we receive Date format anyway
parent 424a2dc3
...@@ -30,7 +30,7 @@ module EE ...@@ -30,7 +30,7 @@ module EE
result[project_id] = { result[project_id] = {
average_coverage: average_coverage, average_coverage: average_coverage,
coverage_count: coverage_count, coverage_count: coverage_count,
last_updated_on: date last_updated_on: Date.parse(date.to_s)
} }
end end
end end
......
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