[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
extern int daylight different from tm.tm_isdst
From: |
Mikhail Kruk |
Subject: |
extern int daylight different from tm.tm_isdst |
Date: |
Thu, 24 Apr 2003 13:59:41 -0400 (EDT) |
Hi,
This probably is a documentation bug. According to localtime man page,
daylight variable should indicate whether we are in daylight savings time.
Unlike ftime man page it doesn't say that this is broken. However if I set
my date to Apr 2 2003 which is before dst, daylight still has a value of
1. localtime() returns tm.tm_isdst correctly (0).
- extern int daylight different from tm.tm_isdst,
Mikhail Kruk <=