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?
diafol
Recommended Answers
Jump to PostDaniWeb 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 PostMy 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 PostThank 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
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
LastMitch
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
LastMitch
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
LastMitch
diafol
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.