Skip to content

Fix EpicBaseEntity human_readable_timestamp

Mario de la Ossa requested to merge 9106-epic_entity_date_fix into master

What does this MR do?

Fixes regression introduced by a refactor that changed #remaining_day_in_words helper method to accept a due_date and an optional start_date instead of the entity itself.

This problem was missed because the issue_serializer_spec.rb (the only place where EpicBaseEntity is used is in the issue serializer for the sidebar) creates an epic without either due dates or start dates, so I've changed that to avoid another regression.

What are the relevant issue numbers?

#9106 (closed)

Does this MR meet the acceptance criteria?

Closes #9106 (closed)

Merge request reports