*BSD News Article 46761


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!gatech!howland.reston.ans.net!Germany.EU.net!Bonn.Germany.EU.net!aed.aed-graphics.de!not-for-mail
From: siggy@aed.aed-graphics.de (Siggy Hensel)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: TZ=MET and MET-0 are 2 hours apart
Date: 12 Jul 1995 16:04:33 +0200
Organization: AED Graphics GmbH, Bonn, Germany
Lines: 50
Message-ID: <3u0kph$bpt@aed.AED-Graphics.DE>
NNTP-Posting-Host: aed.aed-graphics.de


I have a triple OS i486 machine and want to have
the same time in NetBSD, OS/2 and DOS.

With NetBSD 1.0 release, the link
/etc/localtime -> /usr/share/zoneinfo/MET
worked fine.

After the upgrade to 1.0-current (June 95)
the NetBSD clock is 2 hours in the future.

The following shows the output of different timezone settings:


with /etc/localtime -> /usr/share/zoneinfo/MET
$ unset TZ; date :: Wed Jul 12 01:49:16 MET DST 1995

without /etc/localtime 
$ unset TZ; date :: Tue Jul 11 23:39:29 GMT 1995

=============================================================================

$ TZ=MET+3  date ::	Tue Jul 11 20:39:58 MET 1995
$ TZ=MET+2  date ::	Tue Jul 11 21:40:09 MET 1995
$ TZ=MET+1  date ::	Tue Jul 11 22:40:17 MET 1995
$ TZ=MET+0  date ::	Tue Jul 11 23:40:29 MET 1995
$ TZ=MET-0  date ::	Tue Jul 11 23:40:46 MET 1995
$ TZ=MET-1  date ::	Wed Jul 12 00:40:53 MET 1995
$ TZ=MET-2  date ::	Wed Jul 12 01:41:03 MET 1995
$ TZ=MET-3  date ::	Wed Jul 12 02:41:10 MET 1995

$ TZ=MET    date ::	Wed Jul 12 01:41:19 MET DST 1995
$ TZ=MET-0  date ::	Tue Jul 11 23:41:32 MET 1995


Q: Is this expected behaviour? 
Q: Why did this work in 1.0 release?
Q: Why gives TZ=MET  "MET DST" with 2 hours difference? 
   In Germany we have exactly 1 hour difference 
   between summer and winter time.

The kernel config is the same as the GENERIC:
TIMEZONE=0 , DST=0

I want local time for Germany, and no DST, because I have 
to set the DOS clock manually for summer and winter time.

Thank you very much!
-- 
Siggy Hensel    < siggy@aed-graphics.de >