Hi Retool community!
I've encountered what seems to be a bug with the DataWidget component. When I set the dateFormat property to "dd/MM/YYY" and assign the value "2023-12-31" to it, the formattedValue displayed is "31/12/2024" instead of "31/12/2023". This behavior is unexpected and doesn't align with the specified dateFormat.
To reproduce the issue:
- Add a DataWidget component to your Retool app.
- Set the dateFormat property to "dd/MM/YYY".
- Assign the value "2023-12-31" to the DataWidget.
- Observe that the displayed formattedValue is "31/12/2024" instead of "31/12/2023".
I have reviewed the Retool documentation, but couldn't find any mention of this issue or any recent updates related to the DataWidget component and its dateFormat property.
This is a sample app:
Could you please confirm if this is a bug or if I'm missing something in my implementation? If it is indeed a bug, it would be great to get an estimate on when this issue will be resolved.
Thank you in advance for your assistance!