WD showing UTC, not localtime

Hi,

I feel stupid, like I miss something.
I am living in The Netherlands, timezone UTC +1 (since this night +2 for summertime).
For some reason, WD shows the time in UTC (before and after DST change), not in localtime. The latitude is set to 52:10:00N, the longitude to 5:11:00E

How can i force the time to show in localtime?

I am running on Linux, version 10.37j

Thanks,
Sietse

Do you have your system correctly set correctly along with timezone?

Mike - N7DQ

sietse@vogon1:~/wdisplay$ date
Mon Mar 30 00:04:48 CEST 2009
sietse@vogon1:~/wdisplay$

It is indeed 00:04 right now.

Sietse

This is odd. I am not aware of a time setting in WD and thought it took time from the system. Was it working before and is this a new occurrence?

Are you dual-booting with Windows?

Also, do you have daylight saving set? Does The Netherlands do daylight savings?

Just asking questions to help, not sure if they help.

Mike - N7DQ

there was someone else with this problem
and so I added the ability to set a time offset via the config.txt

Brian,

I saw that feature. I wonder though why the problem is occurring. It is odd and the only references I can see about problems like this are around dual-booting, though the ‘date’ command shows the correct time. Where does WD grab the time from?

Mike - N7DQ

via a time function
should be coming from the pc time/system time

I thought that would have been the case.

Mike - N7DQ

Thanks for your replies.

The machine is not dual-booting, it is an Ubuntu 7.10 server.

sietse@vogon1:~/wdisplay$ uname -a
Linux vogon1 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC 2008 i686 GNU/Linux
sietse@vogon1:~/wdisplay$

Can you give me some more info on config.txt? Where is it? What should I put into it?

Thanks for your help,
Sietse

Time zone=

(i.e set the hour offset needed there)

I wish I had some good news; but no: still two hours behind:

sietse@vogon1:~/wdisplay$ ls
clientrawdaily.txt climatedata.html croncwop cronpws datafiles fetch3600 histlog2300 nohup.out programerrorlog.txt sunmoonout.txt tagslist.txt WDISPLAY.INI webfiles
clientrawextra.txt climatedatayear.html cronftp cronrapid deploy ftplogfull.txt histlog3600 open2300.conf rainrecorded.wav SYNOP.INI vptemplog.txt wdisplayinibackup.ini
clientrawhour.txt config.txt crongethawkip cronwu downloads ftplog.txt logfiles open3600.conf readme.txt synopmetar wbm.unt WeatherD
clientraw.txt cronaw cronmysql databackup fetch2300 GoWeather.sh metar out3600.txt recordssetlog.txt synops wdisplayftp.ini weathermaps
sietse@vogon1:~/wdisplay$ cat config.txt
Time zone=2
sietse@vogon1:~/wdisplay$ jobs
[2]- Running DISPLAY=:1 xfce4-session &
[3]+ Running DISPLAY=:1 nohup ./GoWeather.sh &
sietse@vogon1:~/wdisplay$ date
Mon Mar 30 08:54:11 CEST 2009
sietse@vogon1:~/wdisplay$

The clock on WD and on WDL still show 6:54.
I tried different formats in config.txt: 2, +2, Europe/Amsterdam, all having no effect.

Thanks,
Sietse

what are you entering in the config.txt exactly?
you only want to enter a number, not anything else

sietse@vogon1:~/wdisplay$ cat config.txt
Time zone=2
sietse@vogon1:~/wdisplay$

That is in the file.

Thanks,
Sietse

Well,

I finally, finally, figured this one out. Started searching again because the time difference was 2 hours again due to summer time.
After ltracing, stracing etc. etc. I figured out that /etc/timezone is being used to find the time zone, whatever other thing you configure (export TZ=Europe/Amsterdam or a value in config.txt, or other time settings).

In my /etc/timezone was the string ‘user defined’ for whatever reason. After changing this to Europe/Amsterdam, the time shown by WD is correct…

Sietse

Hello

I have the same problem with the hour in AWAKAS report, how can i solve it ?

Thanks.