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
The date manipulation in TS v2 is quite shady for the moment. Sometimes, the date received from editoast is formatted several times, but it should be formatted only once at the end, just before displaying it.
The date in ts v2 is displayed at least in the following components:
timetable card
get
output table
driver schedule
Note
The transformation process is weird, for example the train.startTime process is as follows 🤯:
String ISO8601
Dayjs obj
String custom DD/MM/YYYY HH:mm:ss
Date obj
Dayjs obj
String custom DD/MM HH:mm:ss
Acceptance criteria
the date is formatted only once for each workflow
The text was updated successfully, but these errors were encountered:
Description and goal
The date manipulation in TS v2 is quite shady for the moment. Sometimes, the date received from editoast is formatted several times, but it should be formatted only once at the end, just before displaying it.
The date in ts v2 is displayed at least in the following components:
Note
The transformation process is weird, for example the
train.startTime
process is as follows 🤯:DD/MM/YYYY HH:mm:ss
DD/MM HH:mm:ss
Acceptance criteria
The text was updated successfully, but these errors were encountered: