adminjs icon indicating copy to clipboard operation
adminjs copied to clipboard

Currently datetime field is saved in DB with UTC format but while showing in UI admin js shows it in browsers timezone.

Open imaithal opened this issue 4 years ago • 1 comments

How can i show it in UTC (same format how its saved in DB)

imaithal avatar Jan 12 '22 06:01 imaithal

@imaithal Did you ever find a fix for this? I'm having the same issue in my production instance. Strangely, it doesn't happen on my local machine.

jonathanmorris180 avatar Apr 22 '22 07:04 jonathanmorris180

@imaithal did you ever find a solution to this?

SpaceOso avatar Apr 14 '23 23:04 SpaceOso

This is an intended behaviour plus there's no easy way to allow to configure this. If you need to show datetimes in different timezones than user's local timezone you can create a custom component for that.

dziraf avatar Apr 18 '23 13:04 dziraf