Open
Description
A client recently found the formatD() formatter is not converting a date object into the correct readable string format.
const 'myBirthday': '2024-01-30T14:43:00'
// in template:
{d.myMirthday:formatD("MM/DD/YYY HH:mm')} // renders as `01/20/2024 15:43`
an hour is being added to the time.
possible fix is to set the timezone when starting carbone
see: https://carbone.io/documentation.html#date-manipulation
Metadata
Metadata
Assignees
Labels
No labels