parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Time difference between Parse Server and clients (createdAt value)

Open UnlikelySassou opened this issue 9 years ago • 2 comments

I’ve finally migrated my production app to Parse Server 2.2.23 (hosted on NodeChef) and today I found one big issue: I noticed a time difference between Parse Server and all the clients. When I create an object and save it, the “createdAt” date value is always approximately 40 seconds behind.

I did some testing and I’ve also received several reports from users that confirm this issue:

  1. When they send a message at let’s say 3:15pm, the timestamp will say 3.14pm.
  2. In Parse Dashboard and for any class, if I add a row manually (“Add Row” button + enter random values), the “createdAt” date is not correct
  3. If I manually switch back to Hosted Parse, the bug is not present

Do you think it’s a Parse Server bug or a NodeChef issue with my deployment?

UnlikelySassou avatar Dec 06 '16 14:12 UnlikelySassou

That's a likely a problem with nodechef server clocks

flovilmart avatar Dec 06 '16 14:12 flovilmart

That's what I thought. I sent them an email for support, but I wanted to open an issue here just in case.

Thank you for your quick response

UnlikelySassou avatar Dec 06 '16 14:12 UnlikelySassou