#Display dates based on time zone (Studio)

3 messages · Page 1 of 1 (latest)

sour stag
#

Hello,
I'm using Directus as a dashboard to follow students progress on courses (enrollment date, progress, completion date, etc.).

I receive dates like this "2023-07-27T22:05:17Z" from an API and they are saved correctly in the database with the same value.

When displayed in the data studio, they are displayed as UTC (22H05 in that example, see screenshot).

Problem : my end users are not living on the UTC time zone so they think the dates are incorrect and ask me to fix it.

Is there any way to display dates based on a specific time zone, or based on the user's web browser time zone ?

Thanks!

celest badgerBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

sour stag
#

Display date based on time zone (Studio)