timezone - Printable Version +- SIP (https://nosack.com/sipforum) +-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1) +--- Forum: Report a problem (https://nosack.com/sipforum/forumdisplay.php?fid=9) +--- Thread: timezone (/showthread.php?tid=12) |
timezone - mattip - 2015 Sep 07 Thanks for OpenSprinkler, too bad you do not have a "donate" page somewhere ... I set everything up fine on a raspberry pi, but then noticed time is displayed in UTC. My pi was set to UTC timezone by default. So I added a TM to my profile and now when I type "date" at a command prompt time displays properly. But OpenSprinkler is still displaying UTC time for logs and in the status <div> How do I get the web interface to SIP to display non-utc time? RE: timezone - dan - 2015 Sep 07 Hi, The Pi's timezone is set through the config menu: Code: sudo raspi-config It may take a couple of seconds for the timezone page to appear. Once you have selected your TZ, SIP should show your local time. In fact if you access the web interface from a distant location it will show the time at the location where the Pi is installed. RE: timezone - mattip - 2015 Sep 07 Thanks, your hints helped me. I am running SIP from /etc/rc.local, so I needed to set TZ like (cd /where/is/SIP; TZ='America/Chicago' python sip.py > sip.log 2>&1) & |