On Fri, May 9, 2014 at 1:58 PM, Adam Armstrong adama@memetic.org wrote:
Timezones are all voodoo. You mess with them at your peril!
But it hurts doc! (see below) :)
VBVFM even. Thats why I usually personally prefer to leave everything UTC. But I was anticipating complaints from users. It's going to stay UTC now.
You may have set your PHP timezone, but what about the MySQL timezone? This is probably where the issue occured.
Yeah...that could've done it, PHP doing one thing, MySQL doing another....yupI see how the ~1yr stamps happened now (date maths ending up like date_sub(past,future) instead of date_Sub(future,past) probably, due to the offset - which explains why some seemed ok and others didn't...once it was more than the TZ offset viola)
Any configuration other than having every timezone on the server set identically is unsupported. Not all time calculations and storage performed in Observium are done in PHP.
adam.
TYVM, "doctor says don't do that" :)