I'm having problems getting the timeago stamp to work properly. Im running wordpress (http://inmo.se/brahegatan/) and there's a built in .js for this. It's showing the timeago stamp (see bottom right "Aktuellt")but when I post it immediately shows as if it was posted 2 hours ago, and then when time goes by it shorter and shorter ago since it appears that i posted it. I don't know if this script is based on the server (currently UTC time) and the site is for a Swedish company. How and where can I compensate for this?
The script for the .js is this one:
I've been scratching my head over this. The thing is that it works if I change the timezone in general settings to UTC time in WordPress. But when I do this, the upcoming classes widget thinks that the time is +2 hours and therefor doesn't show the upcoming classes correctly (it's a gym's website) This must be an easy fix?! I've been reading and reading about offset to UTC time but WHERE do I add/ change this? I can't find anything about offset in the .js file. Anyone?