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
@Logic™
Currently, only UTC is supported.
Would you like to share the usecase with us?
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.
@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?
here what is the meaning of outputting dates? are you showing dates in inbox notifications?
Yes, showing the start time of an event in the in-app notification for example