| Author |
Message |
mstone
Member
|
# Posted: 8 May 2009 22:49
Reply
I've edited my .dlusbrc file to set my time zones. My first time zone is as follows.
tod_tz1=MTN-07:00
However, tod_dlusb seems to be unaware that that time zone is currently observing daylight saving time, so it sets the watch to be an hour off.
It appears from the source file tod_dlusb.c that the intended daylight saving time parameters have not yet been implemented.
A workaround is to modify tod_tz[1-3] whenever daylight saving time starts or ends, but implementing the daylight saving time parameters would prevent user confusion.
|
Huidae Cho
Admin
|
# Posted: 9 May 2009 00:56
Reply
Right, DST is not implemented. The format of tz[1-3] is not the standard time zone format. It's nothing but {3-character name}{offset relative to UTC}. Currently, tod_dlusb is unaware of real time zone names. For example, CST or GMT+6 should be given as CST+06:00. It can be ANY+06:00 (in this case, ANY will be displayed in the watch).
|
mstone
Member
|
# Posted: 9 May 2009 21:51 - Edited by: mstone
Reply
Right, I know what the watch accepts. But still, it would be good to implement DST support in the library so that the user needn't modify tod_tz[1-3] whenever DST starts or ends.
The Windows software from Timex has a checkbox that follows Windows' DST changes, which is nice. All it does is add an hour if Windows says that DST is in effect.
|