vogon1
March 29, 2009, 9:14pm
1
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
n7dq
March 29, 2009, 9:58pm
2
Do you have your system correctly set correctly along with timezone?
Mike - N7DQ
vogon1
March 29, 2009, 10:05pm
3
sietse@vogon1:~/wdisplay$ date
Mon Mar 30 00:04:48 CEST 2009
sietse@vogon1:~/wdisplay$
It is indeed 00:04 right now.
Sietse
n7dq
March 29, 2009, 11:01pm
4
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
windy2
March 29, 2009, 11:06pm
5
there was someone else with this problem
and so I added the ability to set a time offset via the config.txt
n7dq
March 29, 2009, 11:53pm
6
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
windy2
March 30, 2009, 12:52am
7
via a time function
should be coming from the pc time/system time
n7dq
March 30, 2009, 1:03am
8
I thought that would have been the case.
Mike - N7DQ
vogon1
March 30, 2009, 5:33am
9
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
windy2
March 30, 2009, 5:47am
10
Time zone=
(i.e set the hour offset needed there)
vogon1
March 30, 2009, 6:56am
11
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
windy2
March 30, 2009, 8:48am
12
what are you entering in the config.txt exactly?
you only want to enter a number, not anything else
vogon1
March 30, 2009, 9:20am
13
sietse@vogon1:~/wdisplay$ cat config.txt
Time zone=2
sietse@vogon1:~/wdisplay$
That is in the file.
Thanks,
Sietse
vogon1
April 4, 2010, 12:35pm
14
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
brd80
April 9, 2010, 4:15pm
15
Hello
I have the same problem with the hour in AWAKAS report, how can i solve it ?
Thanks.