I am trying to make a weather station with my Yun. For storing data I use mysql. All is stored in UTC, or so I hope.
Now, for displaying the various variables on a website, I am in need of converting my datetime stamps from mysql to the visitors local timezone. I was hoping to use the Olson timeformat for this (eg. Europe/London). But I cannot get them to download onto the yun and install them. All examples I see on the internet use parts of Linux that openWRT doesn't support (eg. PECL).
Anybody an idea or a workaround? All help much appreciated!
Note. I am not -for now- looking into solutions that offset x hours from gmt as this creates issues with daylight saving etc. php should auto correct for this if using the Olson time formats (if I read my homework correct)