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
Describe the bug
Different representation in DateTime Component for selected date and rendered date while rendering in html mode
Selected Date: 08.03.2024
Rendered Date in HTML mode: 2024-03-07T23:00:00.000Z
Version/Branch
├── @formiojs@4.18.2
To Reproduce
Steps to reproduce the behavior:
Create new form
Add component date time and choose a different format like 'dd.MM.yyyy'
Use form an put in a date in the given date time field, e.g. 08.03.2024
Choose renderMode = 'html'
Date is rendered in other format: 2024-03-07T23:00:00.000Z
Expected behavior
Date should be rendered in the given format also in renderMode = 'html'
Screenshots
Choose Dates in different Timezone Selections (of Viewer, of Submission, of Location, UTC) -> look okay
Render everything with renderMode='html' --> back to default
Additional context
I use formiojs together with angular/formio 7.0.0. In addition, I was able to recreate the same behavior in the sandbox as well as in a JSFiddle by only using formiojs independently of angular/formio -> https://jsfiddle.net/ytj8h70a
The text was updated successfully, but these errors were encountered:
Describe the bug
Different representation in DateTime Component for selected date and rendered date while rendering in html mode
Selected Date: 08.03.2024
Rendered Date in HTML mode: 2024-03-07T23:00:00.000Z
Version/Branch
├── @formiojs@4.18.2
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Date should be rendered in the given format also in renderMode = 'html'
Screenshots
Choose Dates in different Timezone Selections (of Viewer, of Submission, of Location, UTC) -> look okay
Render everything with renderMode='html' --> back to default
Additional context
I use formiojs together with angular/formio 7.0.0. In addition, I was able to recreate the same behavior in the sandbox as well as in a JSFiddle by only using formiojs independently of angular/formio -> https://jsfiddle.net/ytj8h70a
The text was updated successfully, but these errors were encountered: