Hi Graham,
This timezone stuff normally just works, but there appears to be a problem with
the Africa/Casablanca zoneinfo file.
A little background...
The timezone files are in "/usr/share/zoneinfo/" directory tree. For example:
--
# ls -l /usr/share/zoneinfo/Europe/Berlin
-rw-r--r-- 1 root root 2309 May 10 14:24
/usr/share/zoneinfo/Europe/Berlin
# tail -n1 /usr/share/zoneinfo/Europe/Berlin
CET-1CEST,M3.5.0,M10.5.0/3
--
In this case the /etc/TZ file is automatically set (at startup) to
"CET-1CEST,M3.5.0,M10.5.0/3"
Now look at the Africa/Casablanca file.
--
# tail -n1 /usr/share/zoneinfo/Africa/Casablanca
WET0
--
which appears incorrect, since daylight savings time seems to be supported.
In AstLinux you can define the TZ_TIMEZONE variable to override the automatic
"WET0" value set to /etc/TZ .
You might try: (add in Network Tab -> User System Variables: { Edit User
variables } )
--
TZ_TIMEZONE ="WET0WEST,M3.5.0/1,M10.5.0"
--
Which is what Europe/Lisbon uses.
Hope this helps, maybe some googling you can find the correct /etc/TZ value.
Lonnie
PS: Don't forget this rule in AstLinux:
http://doc.astlinux.org/userdoc:tt_editable_files
On May 10, 2011, at 6:39 PM, Graham S. Jarvis wrote:
> Thanks Lonnie,
>
> 'thought so.
>
> I'm actually building a system for Africa/Casablanca but this file didn't work
> because it doesn't have the dst changes for summertime.
> So I used WET which seems to set the time OK - even if not on the status page
> of
> the GUI (see my other post).
> BUT, it doesn't have the correct change over dates for Casablanca.
> (See http://www.timeanddate.com/worldclock/city.html?n=60)
> BTW neither does Africa/Ceuta (a bit of Spain in the Mahgrib).
>
> I now need to find a good timezone file with the correct changeover dates . .
> .
> (Others have the same problem:
> http://lists.mandriva.com/bugs/2010-04/msg02890.php)
>
> Anyone know of a website that does on-line compilation of timezone files???
>
> We'll get there!
>
> Thanks,
>
> -Graham-
>
>
> Lonnie Abelbeck wrote on 10/05/11 14:44:
>>
>> On May 10, 2011, at 3:50 AM, Graham S. Jarvis wrote:
>>
>>> Hello all,
>>>
>>> Under the Network Tab of the GUI there are number of Timezones listed.
>>> Where does this list come from?
>>> How do I change this list?
>>
>> You can't, but I made an effort to cover all timezones with major cities
>> around the world. Both Brussels and Berlin should be the same as Luxembourg.
>>
>>
>>> Is there really a relationship between the Timezone and the choice of NTP
>>> server?
>>
>> No.
>>
>>
>>> I thought the NTP server is chosen based on it's closeness simply so that
>>> the
>>> workload is spread.
>>
>> In general, the closer the NTP server, the more accurate the time sync.
>>
>> Lonnie
>>
>>
>>>
>>> Thanks,
>>>
>>> -Graham-
>>
>> ------------------------------------------------------------------------------
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Astlinux-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to
>> [email protected].
>>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> [email protected].
>
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].