Closed
Description
Description:
During the page change in the Milestones section, a JavaScript error is encountered that states:
JavaScript error: Cannot parse: 10000-01-0
This error is thrown from the file webcomponents.js at the following URL:
https://10.11.20.95:3000/assets/js/webcomponents.js?v=1.21.11 at line 1,55713.
Steps to Reproduce:
- Navigate to the Milestones section.
- Attempt to change the page.
- Observe the error in the browser console.
Expected Behavior:
The page should change without any JavaScript errors.
Actual Behavior:
A parsing error occurs, but the milestone list is loaded correctly.
Recommendation:
Check the date formatting in the data being passed to the JavaScript function. Ensure it conforms to a valid date format that can be parsed successfully.
Note:
Open the browser console for more details on the error message and stack trace.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
Ubuntu
How are you running Gitea?
The Gitea is running on Ubuntu 20.04.3 as a systemd service.
Database
MySQL/MariaDB