Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2007 00:48:32 +0700
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        stable@freebsd.org
Subject:   date manupulation strangeness
Message-ID:  <20071028174832.GA21847@svzserv.kemerovo.su>

next in thread | raw e-mail | index | archive | help
Hi!

# unixtime=1193511599
# LC_ALL=C TZ=Asia/Krasnoyarsk date -jr $unixtime
Sun Oct 28 02:59:59 KRAT 2007

That's last second of Summer time in this time zone.

# LC_ALL=C TZ=Asia/Krasnoyarsk date -f %s $unixtime
Sun Oct 28 02:59:59 KRAT 2007

That's an hour later after the switch from Summer time,
but how can it be? It is a bug?

Eugene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071028174832.GA21847>