I'm trying to get the correct datestamp in a logfile for Raspberry-Pi for a
server task.
The task runs under supervisord with root permissions.
I modified /root/.profile and added TZ='Australia/Sydney'; export TZ
However, in Python, the logging/task doesn't see dates with the correct
timezone de
Which distribution is it? The method to set system timezone depends on the
answer to this question.
And BTW - what you are asking about is setting the time ZONE. Setting the
correct time is usually a matter left to NTP.
On 17 July 2014 10:51, David Lyon wrote:
> I'm trying to get the correct
On 17/07/14 17:32, Amos Shapira wrote:
> Which distribution is it? The method to set system timezone depends on the
> answer to this question.
>
> And BTW - what you are asking about is setting the time ZONE. Setting the
> correct time is usually a matter left to NTP.
>
>
>
> On 17 July 2014 10:51,
It's Raspbian for the distro on the Raspberry-Pi
The problem is that supervisor is a python Distro package and it's wired
really deeply into the bowels of the system. It's initialisation takes
place way before any of the shell or rc.local startup.
I sorted it out in the end, the command needed wa
>
>I sorted it out in the end, the command needed was "dpkg-reconfigure tzdata"
>and that did something internally that made it work.
>
Maybe, or you could just copy /etc/localtime across from just about any other
machine.
Jim Donovan
0428-609-208
--
Sent from Mutt on a 512MB Raspberry Pi
--