Fix broken set status form in Safari and Firefox
What does this MR do and why?
Related to #389484 (closed)
Currently we are passing user.status.clear_status_at to the frontend in the default Rails date/time format (not sure where this is defined?) which is 2023-01-28 17:38:09 UTC. Safari and Firefox does not support parsing this format and therefore throws an error. This MR passes user.status.clear_status_at in the iso8601 format which all browser support parsing.
Screenshots or screen recordings
Modal
| Before | After |
|---|---|
![]() |
![]() |
Edit profile
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
Using Safari
Modal
- Click your avatar in the upper right corner
- Click
Set status - Fill out the form and select a value from
Clear status after - Click your avatar in the upper right corner
- Click
Edit status - The form should render and work
Edit profile
- Go to
/-/profile - Fill out the
Current statusform and select a value forClear status after - Save the form
- The form should render and work
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Hegman



