diff --git a/bin/date/date.c b/bin/date/date.c index 483d90e0f6af..b96970edb0fe 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -1,4 +1,4 @@ -/* $NetBSD: date.c,v 1.30 2000/04/14 05:52:57 simonb Exp $ */ +/* $NetBSD: date.c,v 1.31 2000/10/08 10:30:44 bjh21 Exp $ */ /* * Copyright (c) 1985, 1987, 1988, 1993 @@ -44,7 +44,7 @@ __COPYRIGHT( #if 0 static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: date.c,v 1.30 2000/04/14 05:52:57 simonb Exp $"); +__RCSID("$NetBSD: date.c,v 1.31 2000/10/08 10:30:44 bjh21 Exp $"); #endif #endif /* not lint */ @@ -152,6 +152,8 @@ setthetime(p) lt = localtime(&tval); + lt->tm_isdst = -1; /* Divine correct DST */ + if (dot != NULL) { /* .ss */ len = strlen(dot); if (len != 3)