openedx / openedx/frontend-app-authoring
Bug: Date picker controls cause MFE error on Safari
@ahtesham-quraish is already working on this.
Since Jul 31, 2025.
- Dominant language
- TypeScript
- Stars
- 17
- Forks
- 218
- Avg merge
- 9d 20h
- Merged PRs (30d)
- 20
Description
Unverified bug report logged on behalf of forum user paulov in topic 16556
Original report:
Steps to reproduce:
Go to the studio cms
Choose a course
Go to “Content > Updates”
Click on “New update”
Error appears
The error is only happening on Safari.
Screen error:
Unexpected Application Error!
Invalid time value
Console logs:
React Router caught the following error during render
Range error: Invalid time value - hooks.tsx:632
Preliminary analysis:
Safari is quite strict about following ISO-8601 date formats so my guess is it's something to do with the code here:
https://github.com/openedx/frontend-app-authoring/blob/8e3ea89339e4ab6258c01f8e92436ee5dc055889/src/course-updates/hooks.jsx#L62
which is formatting the date as 'MMMM D, YYYY' from
https://github.com/openedx/frontend-app-authoring/blob/8e3ea89339e4ab6258c01f8e92436ee5dc055889/src/constants.js#L4
I do not have access to a device with Safari for testing and validation, analysis is purely speculative...
@bradenmacdonald for your attention as requested
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.