Is there a way to control timezone for dates ?

It looks like prisma is automatically converting timezones between the user's timezone and UTC when storig datetime on the database. Is there a way to add a more fine grained control, such as allowing users to specify their timezone and have all the dates reflect that whiule still being saved in UTC? I've been banging my head on it for a few hours today with no avail, and I was wondering if there is some wasp / prisma magic I need to be aware of. I'm using the OpenSaaS template
1 Reply
kapa.ai
kapa.ai2w ago
Hi @Sergio Visinoni. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain specific information about controlling timezones for dates in Wasp or Prisma. However, you might find more information in the official Prisma documentation or the Wasp documentation. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Sergio Visinoni, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
Want results from more Discord servers?
Add your server