Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 23:40:05 -0700
From:      Sean Chittenden <sean@chittenden.org>
To:        current@FreeBSD.ORG
Subject:   mktime() doesn't fix deadzones...
Message-ID:  <20020409234005.V66679@ninja1.internal>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I haven't read POSIX yet, but mktime() fails on the boundary condition
blackholes when timezones change.  I just filed a patch for the
PostgreSQL port so that it deals with this problem.

http://www.freebsd.org/cgi/query-pr.cgi?pr=36954

I believe that Linux and SunOS handle this automatically and am
wondering if FreeBSD should too (this was the 1st time the PostgreSQL
guys had heard of this in over 6 years).  I'm not a daylight savings
expert, but am wondering what other people think.  Seems like a good
idea(TM) to me.  For example (PST/PDT assumed):

2002-4-7 2:0:0.0

should be:

2002-4-7 3:0:0.0

Anyone object or have any thoughts? -sc

-- 
Sean Chittenden

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: Sean Chittenden <sean@chittenden.org>

iEYEARECAAYFAjyz3kUACgkQn09c7x7d+q2fUwCgoaLlCbWI+BpIbmelpAgHSFzk
jikAn1wwNHembDCAtPHGcOnW6RMEux/x
=75Zz
-----END PGP SIGNATURE-----
help

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