Commit 7179004d authored by Luke Duncalfe's avatar Luke Duncalfe

Fix broken master due to date strings in spec

https://gitlab.com/gitlab-org/gitlab/-/issues/345107
parent c9eb99bd
......@@ -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