While checking last_post timestamp in the returned json, I noticed a discrepancy of around 5 hours of the 'now' time and a 'just posted' time. AFAIK unix timestamp is UTC - so constant and timezone independent. Are DW timestamps modified to EST or have I messed up again with my calculations?
Member #120589
Recommended Answers
Jump to Post— Dani 5,664DaniWeb timestamps are supposed to be GMT time but I think there might actually be a bug over the past few months where they were US central time instead. I'll look into it tomorrow. Sorry for the confusion!
Jump to Post— Dani 5,664My apologies!! I actually introduced this bug accidentally yesterday, so all of the timestamps from the past ~35 hours are off by 5 hours. Grrr.
Jump to Post— Dani 5,664Thank you so much for catching this bug! Thank goodness it was only saving timestamps with the wrong GMT offset for a little over a day, so it was not the end of the world to have to update every table in the database. UGH.
All 9 Replies
Dani 5,664 The Queen of DaniWeb Administrator Featured Poster
Dani 5,664 The Queen of DaniWeb Administrator Featured Poster
Dani 5,664 The Queen of DaniWeb Administrator Featured Poster
Member #949455
Dani 5,664 The Queen of DaniWeb Administrator Featured Poster
Member #949455
Dani 5,664 The Queen of DaniWeb Administrator Featured Poster
Member #949455
Member #120589
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.