Commit 2a3aa782 authored by Thong Kuah's avatar Thong Kuah

Merge branch '345107-fix-broken-master-with-date-strings' into 'master'

Fix broken master due to date strings in spec

See merge request gitlab-org/gitlab!73910
parents 4548b0f7 7179004d
......@@ -299,6 +299,6 @@ RSpec.describe 'Issue Sidebar' do
end
def iteration_period(iteration)
iteration.start_date.strftime("%b%e, %Y") + ' - ' + iteration.due_date.strftime("%b%e, %Y")
"#{iteration.start_date.to_s(:medium)} - #{iteration.due_date.to_s(:medium)}"
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