Просмотр исходного кода

* zdump.8, NEWS: Document zdump -c's treatment of years better.

(Problem reported by Arthur David Olson.)
Paul Eggert 11 лет назад
Родитель
Сommit
fef27b6086
2 измененных файлов с 12 добавлено и 3 удалено
  1. 6 0
      NEWS
  2. 6 3
      zdump.8

+ 6 - 0
NEWS

@@ -23,6 +23,12 @@ Unreleased, experimental changes
     An access to uninitalized data has been fixed.
     An access to uninitalized data has been fixed.
     (Thanks to Jörg Richter for reporting the problem.)
     (Thanks to Jörg Richter for reporting the problem.)
 
 
+  Changes affecting documentation and commentary
+
+    zdump -c's treatment of years is now documented to use the
+    Gregorian calendar and Universal Time without leap seconds.
+    (Thanks to Arthur David Olson for reporting the problem.)
+
 
 
 Release 2014g - 2014-08-28 12:31:23 -0700
 Release 2014g - 2014-08-28 12:31:23 -0700
 
 

+ 6 - 3
zdump.8

@@ -45,14 +45,17 @@ This generates output that is easier to compare to that of
 implementations with different time representations.
 implementations with different time representations.
 .TP
 .TP
 .BI "\*-c " [loyear,]hiyear
 .BI "\*-c " [loyear,]hiyear
-Cut off verbose output near the start of the given year(s).
+Cut off verbose output at the start of the given year(s).
+Cutoff times are computed using the Gregorian calendar and Universal
+Time (UT) ignoring leap seconds.
 By default,
 By default,
-the program cuts off verbose output near the starts of the years
+the program cuts off verbose output at the starts of the years
 \-500 and 2500.
 \-500 and 2500.
 .TP
 .TP
 .BI "\*-t " [lotime,]hitime
 .BI "\*-t " [lotime,]hitime
 Cut off verbose output at the start of the given time(s),
 Cut off verbose output at the start of the given time(s),
-given in decimal seconds since 1970-01-01 00:00:00 UTC.
+given in decimal seconds since 1970-01-01 00:00:00
+Coordinated Universal Time (UTC).
 .SH LIMITATIONS
 .SH LIMITATIONS
 Time discontinuities are found by sampling the results returned by localtime
 Time discontinuities are found by sampling the results returned by localtime
 at twelve-hour intervals.
 at twelve-hour intervals.