N
Novu2mo ago
Logic™

Timezone in dateFormat

Hi guys, would love to know if there's some way of outputting dates in a different timezone than UTC. I've gone through the code and I don't believe it's possible as of now?
4 Replies
Pawan Jain
Pawan Jain2mo ago
@Logic™ Currently, only UTC is supported. Would you like to share the usecase with us?
Logic™
Logic™OP2mo ago
I see, actually we're showing the start time of an event in the notification, dateFormat has great flexibility in terms of formatting through date-fns so we went with it, but quickly found out this limitation. We'd like the time to show up in IST.
Pawan Jain
Pawan Jain2mo ago
@Logic™ Thanks for sharing the feedback. I have shared the feedback with team. I have one more question, could you share more details on this?
if there's some way of outputting dates in a different timezone than UTC
if there's some way of outputting dates in a different timezone than UTC
here what is the meaning of outputting dates? are you showing dates in inbox notifications?
Logic™
Logic™OP2mo ago
Yes, showing the start time of an event in the in-app notification for example

Did you find this page helpful?