Skip to content

Commit

Permalink
Adjust Hawaii doc to match current data
Browse files Browse the repository at this point in the history
(Problem noted by Tim Parenti.)
* tz-how-to.html, zdump.8: Change examples to match current data.
Fix tab stops.
  • Loading branch information
eggert committed Oct 23, 2018
1 parent b97fd8d commit 6f4394a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
14 changes: 8 additions & 6 deletions tz-how-to.html
Expand Up @@ -459,8 +459,8 @@ <h3>by Bill Seymour</h3>
<p>An example of a specific amount of time is:</p>
<pre>
#Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Pacific/Honolulu ... 1933 Apr 30 2:00
-10:30 1:00 HDT 1933 May 21 2:00
Zone Pacific/Honolulu ... 1933 Apr 30 2:00
-10:30 1:00 HDT 1933 May 21 12:00
...
</pre>

Expand Down Expand Up @@ -559,7 +559,7 @@ <h3>by Bill Seymour</h3>
Rule US 1918 1919 - Oct lastSun 2:00 0 S
Rule US 1942 only - Feb 9 2:00 1:00 W # War
Rule US 1945 only - Aug 14 23:00u 1:00 P # Peace
Rule US 1945 only - Sep 30 2:00 0 S
Rule US 1945 only - Sep lastSun 2:00 0 S
</pre>
</td></tr></table></td>
</tr>
Expand All @@ -570,7 +570,7 @@ <h3>by Bill Seymour</h3>
<td colspan="6" align="center"><table><tr><td>
<pre>
#Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Pacific/Honolulu -10:31:26 - LMT 1900 Jan 1 12:00
Zone Pacific/Honolulu -10:31:26 - LMT 1896 Jan 13 12:00
-10:30 - HST 1933 Apr 30 2:00
-10:30 1:00 HDT 1933 May 21 2:00
-10:30 US H%sT 1947 Jun 8 2:00
Expand Down Expand Up @@ -598,7 +598,7 @@ <h3>by Bill Seymour</h3>
<td>&mdash;</td>
<td>LMT</td>
<td>local mean time</td>
<td>1900-01-01</td>
<td>1896-01-13</td>
<td>12:00</td>
</tr>
<tr align="center">
Expand All @@ -607,21 +607,23 @@ <h3>by Bill Seymour</h3>
<td>HST</td>
<td>Hawaii standard time</td>
<td>1933-04-30</td>
<td rowspan="3">02:00</td>
<td>02:00</td>
</tr>
<tr align="center">
<td>&minus;9:30</td>
<td>+1:00</td>
<td>HDT</td>
<td>Hawaii daylight time</td>
<td>1933-05-21</td>
<td>12:00</td>
</tr>
<tr align="center">
<td>&minus;10:30&sup1;</td>
<td>&minus;1:00&sup1;</td>
<td>HST&sup1;</td>
<td>Hawaii standard time</td>
<td>1942-02-09</td>
<td>02:00</td>
</tr>
<tr align="center">
<td rowspan="2">&minus;9:30</td>
Expand Down
19 changes: 10 additions & 9 deletions zdump.8
Expand Up @@ -150,15 +150,16 @@ tabbed columns line up.)
.if \n(.g .ft CW
.if t .in +.5i
.if n .in +2
.nr w \w'1896-01-13 'u
.ta \nwu +\nwu +\nwu +\nwu
.nr w \w'1896-01-13 'u+\n(.i
.ta \w'1896-01-13 'u +\w'12:01:26 'u +\w'-103126 'u +\w'HWT 'u
TZ="Pacific/Honolulu"
- - -10:31:26 LMT
1896-01-13 12:01:26 -10:30 HST
1933-04-30 03 -09:30 HDT 1
1933-05-21 11 -10:30 HST
1942-02-09 03 -09:30 HDT 1
1945-09-30 01 -10:30 HST
- - -103126 LMT
1896-01-13 12:01:26 -1030 HST
1933-04-30 03 -0930 HDT 1
1933-05-21 11 -1030 HST
1942-02-09 03 -0930 HWT 1
1945-08-14 13:30 -0930 HPT 1
1945-09-30 01 -1030 HST
1947-06-08 02:30 -10 HST
.in
.if \n(.g .ft
Expand All @@ -183,7 +184,7 @@ Here are excerpts from another example:
.if t .in +.5i
.if n .in +2
TZ="Europe/Astrakhan"
- - +03:12:12 LMT
- - +031212 LMT
1924-04-30 23:47:48 +03
1930-06-21 01 +04
1981-04-01 01 +05 1
Expand Down

0 comments on commit 6f4394a

Please sign in to comment.