DST Time Change for positive timezones not working
I was doing timezone and DST testing which is required for some of my products
Here is the strange behaviour i observed
First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone)
Code:
zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 14 09:59:59 2010 UTC = Sun Mar 14 01:59:59 2010 PST isdst=0 gmtoff=-28800
/etc/localtime Sun Mar 14 10:00:00 2010 UTC = Sun Mar 14 03:00:00 2010 PDT isdst=1 gmtoff=-25200
/etc/localtime Sun Nov 7 08:59:59 2010 UTC = Sun Nov 7 01:59:59 2010 PDT isdst=1 gmtoff=-25200
/etc/localtime Sun Nov 7 09:00:00 2010 UTC = Sun Nov 7 01:00:00 2010 PST isdst=0 gmtoff=-28800
DST starts here and works fine
--------------------------------
Code:
[rootlocalhost /]# date
Sun Mar 14 01:59:58 PST 2010
[rootlocalhost /]# date
Sun Mar 14 01:59:59 PST 2010
[rootlocalhost /]# date
Sun Mar 14 03:00:00 PDT 2010
[rootlocalhost /]#
DST end here works fine
-----------------------------
Code:
Sun Nov 7 01:59:58 PDT 2010
[rootlocalhost /]# date
Sun Nov 7 01:59:58 PDT 2010
[rootlocalhost /]# date
Sun Nov 7 01:59:59 PDT 2010
[rootlocalhost /]# date
Sun Nov 7 01:00:00 PST 2010
[rootlocalhost /]# date
Sun Nov 7 01:00:00 PST 2010
When it connes to positive timezon like paris(which is GMT+1)
Code:
zdump -v /etc/localtime |grep 2010
/etc/localtime Sun Mar 28 00:59:59 2010 UTC = Sun Mar 28 01:59:59 2010 CET isdst=0 gmtoff=3600
/etc/localtime Sun Mar 28 01:00:00 2010 UTC = Sun Mar 28 03:00:00 2010 CEST isdst=1 gmtoff=7200
/etc/localtime Sun Oct 31 00:59:59 2010 UTC = Sun Oct 31 02:59:59 2010 CEST isdst=1 gmtoff=7200
/etc/localtime Sun Oct 31 01:00:00 2010 UTC = Sun Oct 31 02:00:00 2010 CET isdst=0 gmtoff=3600
DST starts here and works fine
------------------------------
Code:
[rootlocalhost /]# date
Sun Mar 28 01:59:58 CET 2010
[rootlocalhost /]# date
Sun Mar 28 01:59:59 CET 2010
[rootlocalhost /]# date
Sun Mar 28 01:59:59 CET 2010
[rootlocalhost /]# date
Sun Mar 28 03:00:00 CEST 2010
[rootlocalhost /]#
DST ends here and doesn't reset back
------------------------------------
Code:
Sun Oct 31 02:59:57 CET 2010
[rootlocalhost /]# date
Sun Oct 31 02:59:59 CET 2010
[rootlocalhost]# date
Sun Oct 31 03:00:00 CET 2010
Note:in the above case when i did set time to 2:59:55 and said ok by then CEST became CET already. That could be the reason why DST is not happening.
I tried with few other positive and negative timezone configuration all the negative time zones resets back properly where as all the positive timezones doesn't
All my timezone files are up to date,i am using fedora 9
Can any one help me regarding this ...thanks a ton in advance
Last edited by pludi; 01-12-2010 at 03:25 AM..
Reason: code tags, please...
Hello
Can sombody please tell me how linux handles DST ( daylight saving time) ?
Does the time change instantly , ex: if is is 3'o clock does linux instantly swich to 2'o clock ?
plese give more info about this toppic (2 Replies)
Hello AIX friends,
We have timezone settings on our AIX 6.1 boxes set to Europe/London.
How can I change it to UTC timezone with Daylight saving disabled.
After running "smit chtz_user" I don't see UTC option in the listing.
Please advise.
TIA (3 Replies)
Hi Everyone
Just wanted to share with you that IBM AIX is having again problem with Summer Time Shift..
IBM Possible Action Required: System time may not change properly at DST start/end dates on AIX 7.1 and AIX 6.1 - United States
For me it means some additional overtimes in the... (0 Replies)
Hello all,
I hope someone can help me.
We have Compaq Tru64 UNIX V5.1B (Rev. 2650).
By latest Belarus government act Europe/Minsk timezone was changed to
GMT+3 without DST (was GMT+2 with DST).
Please advice how to do changes on our machine.
Thank You in advance,
md1982 (15 Replies)
Hi all,
I have a file that looks like shown below. I want to find places where the value in column 2 change from negative to positive and vice versa and return the value on column 1 at that point. I wonder if this is possible in shell script or awk .. please help!
Here is the original data
... (6 Replies)
Hello ,
We are investigating an issue from a customer from Western Australia related to DST change on 25 th March. The customer in Australia has the below settings for Time Zone. The System is Solaris 9.
TZ=Australia/NSW
CMASK=022
We are trying to reproduce the problem in our local... (1 Reply)
Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)