freebsd-src/bin/date
Brian Somers a625bfec63 Always give mktime a timeval with tm_isdst set to -1, otherwise
things get a bit out-of-phase when we step backwards 1 hour from
between 0:00 and 1:00 on the first of the month following the
transition into Summer time.  This is probably actually a bug
in mktime().

PR:	10963

If mktime() fails and 68 < year < 138, assume that the reason is
because of Summer time and adjust up or down according to our
adjusting context by one hour.  This assumes that all DSTs are
multiples of 1 hour.

PR:	6223, 17750
2000-04-05 01:59:36 +00:00
..
date.1 Correct confusing description of the -r option. 2000-03-07 20:54:17 +00:00
date.c Back out previous commit and replace with a cleaner solution adapted 1999-12-29 16:50:08 +00:00
extern.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
netdate.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
vary.c Always give mktime a timeval with tm_isdst set to -1, otherwise 2000-04-05 01:59:36 +00:00
vary.h $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00