Skip to content
Back

Date objects behaving weird

  • 0
  • Databases
  • Web
  • Cloud
Lama_Agent
4 May, 2025, 11:16

I've programmed an app that uses Date objects. Everything works perfectly in my local environment, but on my hosted version with Vercel, the times of the objects are suddenly completely different, sometimes two hours apart, sometimes more. How can this be?

TL;DR
Developers experiencing issues with Date objects in their app. App works fine locally but displays different times on hosted Vercel version. Solution: Check server time settings on hosting platform and ensure they align with local environment.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more