Skip to content

Frontend: Port gitlab_chronic_duration to JavaScript

What does this MR do and why?

This uses the same logic as gitlab-org/gitlab-chronic-duration, but on the frontend instead of the backend. This can be used to convert time intervals to and from a human-readable format.

This is needed for !73686 (merged) and !71607 (closed).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kyle Edwards

Merge request reports