You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the edit even page, the Timeline section does not behave as expected when adding a new item to the schedule. When adding a new item to the timeline schedule, the date is saved as a date object rather than a string, which cannot be directly compared to what is fetched from the server in the string format.
Expected Behavior
The order of timeline items stays the same as you add a new item.
Actual Behavior
The order of the timeline changes on each title input change.
The date format displayed to the user is also different depending on the type of value passed to the component that renders the date. It's either as a string or an ISO formatted string.
Steps to Reproduce Issue
If there are no objects in the timeline add a new item and save the changes. Then add a new item without saving the changes and try typing in the input field again. The order of the items should change on each input update.
Browser
Browser info:
Firefox
Screenshots
The text was updated successfully, but these errors were encountered:
I could not reproduce the issue @grigorovaa. How do you get the timestamp to look like that, I have always the default view. Might be also browser specific issue.
Should be easy fix tho, just parse the datetime to correct format at submit
🐛 Bug Report
What went wrong?
On the edit even page, the Timeline section does not behave as expected when adding a new item to the schedule. When adding a new item to the timeline schedule, the date is saved as a date object rather than a string, which cannot be directly compared to what is fetched from the server in the string format.
Expected Behavior
The order of timeline items stays the same as you add a new item.
Actual Behavior
The order of the timeline changes on each title input change.
The date format displayed to the user is also different depending on the type of value passed to the component that renders the date. It's either as a string or an ISO formatted string.
Steps to Reproduce Issue
If there are no objects in the timeline add a new item and save the changes. Then add a new item without saving the changes and try typing in the input field again. The order of the items should change on each input update.
Browser
Browser info:
Firefox
Screenshots
The text was updated successfully, but these errors were encountered: