[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: This should be the new thinkgeek T shirt..
- To: "Oren Seliger" <orens(at-nospam)gilian.com>
- Subject: Re: This should be the new thinkgeek T shirt..
- From: "Ehud Karni" <ehud(at-nospam)unix.simonwiesel.co.il>
- Date: Sun, 23 Sep 2001 16:11:09 +0300
- CC: linux-il(at-nospam)cs.huji.ac.il
- In-reply-to: <1797E7C8F378D411A1CE00D0B77E59CE4E4EE3@gilianmail> (message fromOren Seliger on Sun, 23 Sep 2001 15:15:57 +0300)
- Organization: Mivtach-Simon Insurance agencies
- References: <1797E7C8F378D411A1CE00D0B77E59CE4E4EE3@gilianmail>
- Reply-to: ehud(at-nospam)unix.simonwiesel.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Sun, 23 Sep 2001 15:15:57 +0300, Oren Seliger <orens@gilian.com> wrote:
>
> Does anyone know how to modify/verify/check the DST config file on a linux
> box v6.2? I am changing all my PC's this evening and we have a linux server
> that we compile on.... If the times are different than there will be a major
> bardack....
On Linux (as on some other SYS V UNIX) the time (DST) configuration can be
done in more than 1 way. The simplest is to set the TZ env variable. The most
complete (and complicated) way which is used with the Red Hat distribution is
to have a list of rules compiled with `zic'.
You have to do/have:
1. The system use /etc/localtime for the (compiled) time rules.
To set the zone info to Israel, Tel-Aviv, make a symbolic link.
i.e. ln -s "../usr/share/zoneinfo/Asia/Tel_Aviv" /etc/localtime
2. The rules must be compiled into the above "linked to" file.
2.1 Edit a source file of the rules. My source is listed below, it
has all the rules from 1994 until 2004 (current existing law).
2.2 Compile it by: zic <rules source>, Please note that the target
is specified in the source file (last line).
Read the zic and tzset man pages for more information.
Ehud.
List of Mivtach-Simon time rules (/usr/share/locale/isr/Isrsw.src):
Rule isr 1990 1994 - Apr Sat>=1 0:00 1 D
Rule isr 1990 1994 - Aug lastSun 0:00 0 S
# 24/3-2/9 95-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 1995 1995 - Mar lastFri 0:00 1 D
Rule isr 1995 1995 - Sep Sun>=1 0:00 0 S
# 14/3-21/9 96-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 1996 1996 - Mar Fri<=16 0:00 1 D
Rule isr 1996 1996 - Sep Sun>=13 0:00 0 S
# 23/3-13/9 97-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 1997 1997 - Mar Fri>=20 0:00 1 D
Rule isr 1997 1997 - Sep Sun>=10 0:00 0 S
# 20/3-5/9 98-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 1998 1998 - Mar Fri>=17 0:00 1 D
Rule isr 1998 1998 - Sep Sun>=01 0:00 0 S
# 2/4-3/9 99-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 1999 1999 - APr Fri>=01 0:00 1 D
Rule isr 1999 1999 - Sep Sat>=01 0:00 0 S
#
# 14/4-6/10 2000-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 2000 2000 - Apr Fri>=11 0:00 1 D
Rule isr 2000 2000 - Oct Fri>=01 0:00 0 S
# 9/4-24/9 2001-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 2001 2001 - Apr Mon>=08 0:00 1 D
Rule isr 2001 2001 - Sep Mon>=20 0:00 0 S
# 29/3-7/10 2002-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 2002 2002 - Mar Fri>=24 0:00 1 D
Rule isr 2002 2002 - Oct Mon>=01 0:00 0 S
# 28/3-3/10 2003-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 2003 2003 - Mar Fri>=24 0:00 1 D
Rule isr 2003 2003 - Oct Fri>=01 0:00 0 S
# 7/4-22/9 2004-&lamed; &ftsadi;&yod;&qof; &fnun;&vav;&ayin;&shin;
Rule isr 2004 2014 - Apr Wed>=04 0:00 1 D
Rule isr 2004 2014 - Sep Wed>=20 0:00 0 S
Zone Asia/Tel_Aviv 2 isr I%sT
##### end of Mivtach-Simon Isrsw.src #####
--
Ehud Karni Mivtach - Simon Insurance /"\
Tel: +972-3-7966-561 Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
(USA) Fax and voice mail: 1-815-5509341 X Against HTML Mail
Better Safe Than Sorry / \
mailto:ehud@unix.simonwiesel.co.il http://www.simonwiesel.co.il
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il