N
Novu2mo ago
voidx

Timezone bug in datetime formatting

Hi, I'm using a date format filter in template: %d/%m/%Y %I:%M %p. When I provide an input payload such as 2025-06-30T11:30:00+01:00, in the final output I get 30/06/2025 10:30 AM which is incorrect as its modifying the local time I need to display.
4 Replies
Pawan Jain
Pawan Jain2mo ago
@voidx I am trying to understand the issue. It means the date format liquid js helper always formats the time in UTC timezone
voidx
voidxOP4w ago
Yes, seems like it. Therefore the output ends up showing in UTC datetime to the user. Hi @Pawan Jain, will this be fixed?
Pawan Jain
Pawan Jain4w ago
I have shared the bug with team, will keep you updated on the fix
voidx
voidxOP6d ago
Hi @Pawan Jain, any update from the team on this?

Did you find this page helpful?