[tz] zdump bug in Asia/Singapore

Paul Eggert eggert at cs.ucla.edu
Wed Oct 15 06:57:07 UTC 2014


Tim Parenti wrote:
> I think it's important, at least for -c, to clarify exactly what is meant by
> "inclusive" and "exclusive".  Proposed further patch attached.

That patch is wordy and the wordiness gets in the way of clarity.  I think its 
basic idea can be expressed more concisely by adding a few words to the example, 
as in the attached.

-------------- next part --------------
From d412edc8221c063ad9383264ba7f3b8ac19d0e03 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert at cs.ucla.edu>
Date: Tue, 14 Oct 2014 23:53:38 -0700
Subject: [PROPOSED PATCH] * zdump.8: Be more specific about when a year
 starts.

---
 zdump.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zdump.8 b/zdump.8
index be220fa..db73f49 100644
--- a/zdump.8
+++ b/zdump.8
@@ -57,7 +57,7 @@ Cutoff times are computed using the proleptic Gregorian calendar with year 0
 and with Universal Time (UT) ignoring leap seconds.
 The lower bound is exclusive and the upper is inclusive; for example, a
 .I loyear
-of 1970 excludes a transition occurring at the very start of 1970 but a
+of 1970 excludes a transition occurring at 1970-01-01 00:00:00 UTC but a
 .I hiyear
 of 1970 includes the transition.
 The default cutoff is
-- 
1.9.1


More information about the tz mailing list