Resolve some tech debt in the prettyTime module
What does this MR do?
- remove prettyTime from global (
gl
) scope - export its functions individually
- Don't init from in IIFE
- Adds a utility function to DRY up the spec
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug - Review
-
Has been reviewed by Frontend
-
What are the relevant issue numbers?
Closes #37298 (closed)
Edited by username-removed-502136