1833832 Members
3142 Online
110063 Solutions
New Discussion

tztab problem

 
Maxim Rozin
Frequent Advisor

tztab problem


im trying to set the timezone with the tztab file.
my $TZ is set to IST-2IDT and in my tztab there is only 2 lines
IST-2IDT
#0 11 28 03 2005 0-6 IDT-3
according to this tztab the line should not work because it is commented but when i do date the output is 14:00 IDT
why is it?? i think its suppose to be IST

thnx,
3 REPLIES 3
Jdamian
Respected Contributor

Re: tztab problem

IST ?

What time zone is it ?
In my boxes that time zone is not in the /usr/lib/tztab file.
Amit Agarwal_1
Trusted Contributor

Re: tztab problem

IST=India Standard Time

Maxim,
check the /etc/TIMEZONE file.
Victor Fridyev
Honored Contributor

Re: tztab problem

Maxim,

Please check the following files:
/etc/TIMEZONE and /usr/lib/tztab
/etc/TIMEZONE should contain:
TZ=IST-2IDT
export TZ

tztab should contain the following:
0 2 01 4 2005 0-6 IDT-3
0 2 09 10 2005 0-6 IST-2

HTH
Entities are not to be multiplied beyond necessity - RTFM