summary refs log tree commit diff
path: root/time/tzfile.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-06-22 13:44:50 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-06-22 13:49:09 -0700
commit21fbc0a19366f89638a30eef2b53c6d4baafdb88 (patch)
tree72d20654a70d7b7b953791bcffd24f1c6a025901 /time/tzfile.c
parent99f9ae4ed0ba9f2c84520b78fd0eeed96a7ed40e (diff)
downloadglibc-21fbc0a19366f89638a30eef2b53c6d4baafdb88.tar.gz
glibc-21fbc0a19366f89638a30eef2b53c6d4baafdb88.tar.xz
glibc-21fbc0a19366f89638a30eef2b53c6d4baafdb88.zip
Call "CST" a time zone abbreviation, not a name
In documentation, call strings like "CST" time zone abbreviations, not
time zone names.  This terminology is more precise, and is what tzdb uses.
A string like "CST" is ambiguous and does not fully name a time zone.
Diffstat (limited to 'time/tzfile.c')
-rw-r--r--time/tzfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/tzfile.c b/time/tzfile.c
index a267eb652e..8a923d0ccc 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -408,7 +408,7 @@ __tzfile_read (const char *file, size_t extra, char **extrap)
 
   fclose (f);
 
-  /* First "register" all timezone names.  */
+  /* First "register" all time zone abbreviations.  */
   for (i = 0; i < num_types; ++i)
     if (__tzstring (&zone_names[types[i].idx]) == NULL)
       goto ret_free_transitions;
@@ -565,7 +565,7 @@ __tzfile_default (const char *std, const char *dst,
   types[1].offset = dstoff;
   types[1].isdst = 1;
 
-  /* Reset the zone names to point to the user's names.  */
+  /* Reset time zone abbreviations to point to the user's abbreviations.  */
   __tzname[0] = (char *) std;
   __tzname[1] = (char *) dst;