Hidden 9 yrs ago Post by XxLyraxX
Raw
OP

XxLyraxX

Member Seen 5 yrs ago

Hello. So, I noticed after the Guild was updated, the posting time under each post changed. I took that image from my phone. This is the exact same post that I took a few seconds later on my laptop. Most of the threads are like. Someone could have just posted but it will still say they posted 10 hours ago. I logged on at school and the times were normal so I know it's my laptop. I just don't know how to fix it.
Hidden 9 yrs ago Post by Mahz
Raw
Avatar of Mahz

Mahz ¯\_(ツ)_/¯

Admin Seen 21 days ago

Thanks. Something is happening with the timezone data between the timestamps as 1) they come from the database, 2) as the timestamps go through the application code, and 3) as the timestamps are then interpreted by the browser code into their relative "X hours ago" format. The intention is for the browser code to convert the timestamp into your local timezone, but that's obviously not happening. It's on my TODO list. I have to read more about how my database handles timezones and how to get your browser to convert timestamps locally.
↑ Top
© 2007-2024
BBCode Cheatsheet