Date in React Server Component
Unanswered
Carolina Dog posted this in #help-forum
Carolina DogOP
I'm trying to get the local time in my server component. It works in development perfectly, but in production it sets the time to UTC. What's the best way to do it that works on both production and development?
3 Replies
the production is located in a different place than the development thast why it shows a different timezone
working perfectly as expected