[tz] zdump bug in Asia/Singapore

Paul Eggert eggert at cs.ucla.edu
Thu Sep 11 07:31:01 UTC 2014


Alan Barrett wrote:
> Perhaps say the proleptic Gregorian calendar.

Thanks, proposed patch attached.
-------------- next part --------------
From 07394c4ada6fec013c31943a1b991f0321438fc1 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert at cs.ucla.edu>
Date: Thu, 11 Sep 2014 00:29:22 -0700
Subject: [PROPOSED PATCH] * NEWS, Theory, zdump.8, zic.8: Document that the
 proleptic Gregorian

calendar is used.  (Thanks to Alan Barrett for the suggestion.)
---
 NEWS    | 3 +++
 Theory  | 2 +-
 zdump.8 | 2 +-
 zic.8   | 2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index a2a7355..29cf395 100644
--- a/NEWS
+++ b/NEWS
@@ -41,6 +41,9 @@ Unreleased, experimental changes
     and its behavior at cutoff boundaries is now documented better.
     (Thanks to Arthur David Olson and Tim Parenti for reporting the problems.)
 
+    Programs are now documented to use the proleptic Gregorian calendar.
+    (Thanks to Alan Barrett for the suggestion.)
+
     Fractional-second GMT offsets have been documented for civil time
     in 19th-century Chennai, Jakarta, and New York.
 
diff --git a/Theory b/Theory
index 9182d02..e9be715 100644
--- a/Theory
+++ b/Theory
@@ -318,7 +318,7 @@ Errors in the tz database arise from many sources:
    way to specify Easter, these exceptional years are entered as
    separate tz Rule lines, even though the legal rules did not change.
 
- * The tz database models pre-standard time using the Gregorian
+ * The tz database models pre-standard time using the proleptic Gregorian
    calendar and local mean time (LMT), but many people used other
    calendars and other timescales.  For example, the Roman Empire used
    the Julian calendar, and had 12 varying-length daytime hours with a
diff --git a/zdump.8 b/zdump.8
index c5f725d..e793cbf 100644
--- a/zdump.8
+++ b/zdump.8
@@ -46,7 +46,7 @@ implementations with different time representations.
 .TP
 .BI "\*-c " [loyear,]hiyear
 Cut off verbose output at the given year(s).
-Cutoff times are computed using the Gregorian calendar with year 0
+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
diff --git a/zic.8 b/zic.8
index 11a374f..fac2da7 100644
--- a/zic.8
+++ b/zic.8
@@ -177,7 +177,7 @@ Gives the (arbitrary) name of the set of rules this rule is part of.
 .TP
 .B FROM
 Gives the first year in which the rule applies.
-Any integer year can be supplied; the Gregorian calendar is assumed.
+Any integer year can be supplied; the proleptic Gregorian calendar is assumed.
 The word
 .B minimum
 (or an abbreviation) means the minimum year representable as an integer.
-- 
1.9.3


More information about the tz mailing list