[tz] [PROPOSED 4/4] Spelling fixes

Paul Eggert eggert at cs.ucla.edu
Sat May 25 21:24:35 UTC 2024


---
 asia        | 6 +++---
 localtime.c | 4 ++--
 zic.c       | 2 +-
 zonenow.tab | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/asia b/asia
index 0766bb1e..4fffe893 100644
--- a/asia
+++ b/asia
@@ -2473,9 +2473,9 @@ Zone	Asia/Amman	2:23:44 -	LMT	1931
 # Almaty (formerly Alma-Ata), representing most locations in Kazakhstan
 # This includes Abai/Abay (ISO 3166-2 code KZ-10), Aqmola/Akmola (KZ-11),
 # Almaty (KZ-19), Almaty city (KZ-75), Astana city (KZ-71),
-# East Kazkhstan (KZ-63), Jambyl/Zhambyl (KZ-31), Jetisu/Zhetysu (KZ-33),
+# East Kazakhstan (KZ-63), Jambyl/Zhambyl (KZ-31), Jetisu/Zhetysu (KZ-33),
 # Karaganda (KZ-35), North Kazakhstan (KZ-59), Pavlodar (KZ-55),
-# Shyumkent city (KZ-79), Turkistan (KZ-61), and Ulytau (KZ-62).
+# Shymkent city (KZ-79), Turkistan (KZ-61), and Ulytau (KZ-62).
 Zone	Asia/Almaty	5:07:48 -	LMT	1924 May  2 # or Alma-Ata
 			5:00	-	%z	1930 Jun 21
 			6:00 RussiaAsia %z	1991 Mar 31  2:00s
@@ -4107,7 +4107,7 @@ Zone	Asia/Tashkent	4:37:11 -	LMT	1924 May  2
 # Võ Nguyên Giáp, Việt Nam Dân Quốc Công Báo, No. 1 (1945-09-29), page 13
 # http://baochi.nlv.gov.vn/baochi/cgi-bin/baochi?a=d&d=JwvzO19450929.2.5&dliv=none
 # It says that on 1945-09-01 at 24:00, Vietnam moved back two hours, to +07.
-# It also mentions a 1945-03-29 decree (by a Japanese Goveror-General)
+# It also mentions a 1945-03-29 decree (by a Japanese Governor-General)
 # to set the time zone to +09, but does not say whether that decree
 # merely legalized an earlier change to +09.
 #
diff --git a/localtime.c b/localtime.c
index 83466575..10ed4d7a 100644
--- a/localtime.c
+++ b/localtime.c
@@ -2228,7 +2228,7 @@ mktime(struct tm *tmp)
 }
 
 #if STD_INSPIRED
-/* This function is obsolescent and may disapper in future releases.
+/* This function is obsolescent and may disappear in future releases.
    Callers can instead use mktime.  */
 time_t
 timelocal(struct tm *tmp)
@@ -2246,7 +2246,7 @@ timelocal(struct tm *tmp)
 # define EXTERN_TIMEOFF static
 #endif
 
-/* This function is obsolescent and may disapper in future releases.
+/* This function is obsolescent and may disappear in future releases.
    Callers can instead use mktime_z with a fixed-offset zone.  */
 EXTERN_TIMEOFF time_t
 timeoff(struct tm *tmp, long offset)
diff --git a/zic.c b/zic.c
index 00f00e30..28f7f9eb 100644
--- a/zic.c
+++ b/zic.c
@@ -2985,7 +2985,7 @@ rule_cmp(struct rule const *a, struct rule const *b)
 /* Store into RESULT a POSIX.1-2017 TZ string that represent the future
    predictions for the zone ZPFIRST with ZONECOUNT entries.  Return a
    compatibility indicator (a TZDB release year) if successful, a
-   negative integer if no such TZ string exissts.  */
+   negative integer if no such TZ string exists.  */
 static int
 stringzone(char *result, struct zone const *zpfirst, ptrdiff_t zonecount)
 {
diff --git a/zonenow.tab b/zonenow.tab
index 84f27e93..01f536b3 100644
--- a/zonenow.tab
+++ b/zonenow.tab
@@ -5,7 +5,7 @@
 # From Paul Eggert (2023-12-18):
 # This file contains a table where each row stands for a timezone
 # where civil timestamps are predicted to agree from now on.
-# This file is like zone1970.tab (see zone1970.tab's coments),
+# This file is like zone1970.tab (see zone1970.tab's comments),
 # but with the following changes:
 #
 # 1.  Each timezone corresponds to a set of clocks that are planned
-- 
2.45.1



More information about the tz mailing list