[tz] [PROPOSED PATCH 4/4] * zdump.8, NEWS: Mention that tm_isdst might not be 0 or 1.

Paul Eggert eggert at cs.ucla.edu
Mon Sep 22 05:53:37 UTC 2014


---
 NEWS    | 3 ++-
 zdump.8 | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 7f96547..06e7094 100644
--- a/NEWS
+++ b/NEWS
@@ -44,7 +44,8 @@ Unreleased, experimental changes
 
   Changes affecting documentation and commentary
 
-    zdump's gmtoff=N output is now documented.
+    zdump's gmtoff=N output is now documented, and its isdst=D output
+    is now documented to possibly output D values other than 0 or 1.
 
     zdump -c's treatment of years is now documented to use the
     Gregorian calendar and Universal Time without leap seconds,
diff --git a/zdump.8 b/zdump.8
index dd36331..be220fa 100644
--- a/zdump.8
+++ b/zdump.8
@@ -35,7 +35,9 @@ Each line is followed by
 .BI isdst= D
 where
 .I D
-is 1 if the given time is Daylight Saving Time and is 0 otherwise.
+is positive, zero, or negative depending on whether
+the given time is daylight saving time, standard time,
+or an unknown time type, respectively.
 Each line is also followed by
 .BI gmtoff= N
 if the given local time is known to be
-- 
1.9.3



More information about the tz mailing list