Debian Codegraph @

templates/man5/tzfile.5.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "tzfile"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "Time Zone Database"
31 msgstr ""
32
33 #. type: SH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "NAME"
38 msgstr ""
39
40 #. type: Plain text
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 msgid "tzfile - timezone information"
44 msgstr ""
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "DESCRIPTION"
51 msgstr ""
52
53 #. type: Plain text
54 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
55 #: opensuse-tumbleweed
56 msgid ""
57 "The timezone information files used by B<tzset>(3) are typically found "
58 "under a directory with a name like I</usr/share/zoneinfo>. These files use "
59 "the format described in Internet RFC 9636. Each file is a sequence of 8-bit "
60 "bytes. In a file, a binary integer is represented by a sequence of one or "
61 "more bytes in network order (bigendian, or high-order byte first), with all "
62 "bits significant, a signed binary integer is represented using two's "
63 "complement, and a boolean is represented by a one-byte binary integer that "
64 "is either 0 (false) or 1 (true). The format begins with a 44-byte header "
65 "containing the following fields:"
66 msgstr ""
67
68 #. type: IP
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "\\(bu"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "The magic four-byte ASCII sequence"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 msgid "identifies the file as a timezone information file."
85 msgstr ""
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 msgid ""
91 "A byte identifying the version of the file's format (as of 2021, either an "
92 "ASCII NUL,"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid "or"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid "Fifteen bytes containing zeros reserved for future use."
105 msgstr ""
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid "Six four-byte integer values, in the following order:"
111 msgstr ""
112
113 #. type: TP
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "B<tzh_ttisutcnt>"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The number of UT/local indicators stored in the file. (UT is Universal "
125 "Time.)"
126 msgstr ""
127
128 #. type: TP
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "B<tzh_ttisstdcnt>"
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid "The number of standard/wall indicators stored in the file."
139 msgstr ""
140
141 #. type: TP
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "B<tzh_leapcnt>"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "The number of leap seconds for which data entries are stored in the file."
153 msgstr ""
154
155 #. type: TP
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid "B<tzh_timecnt>"
160 msgstr ""
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "The number of transition times for which data entries are stored in the file."
167 msgstr ""
168
169 #. type: TP
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 #, no-wrap
173 msgid "B<tzh_typecnt>"
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "The number of local time types for which data entries are stored in the file "
181 "(must not be zero)."
182 msgstr ""
183
184 #. type: TP
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid "B<tzh_charcnt>"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "The number of bytes of time zone abbreviation strings stored in the file."
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "The above header is followed by the following fields, whose lengths depend "
203 "on the contents of the header:"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "B<tzh_timecnt> four-byte signed integer values sorted in ascending order. "
211 "These values are written in network byte order. Each is used as a "
212 "transition time (as returned by B<time>(2)) at which the rules for "
213 "computing local time change."
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
218 #: opensuse-tumbleweed
219 msgid ""
220 "B<tzh_timecnt> one-byte unsigned integer values; each one but the last tells "
221 "which of the different types of local time types described in the file is "
222 "associated with the time period starting with the same-indexed transition "
223 "time and continuing up to but not including the next transition time. (The "
224 "last time type is present only for consistency checking with the proleptic "
225 "TZ string described below.) These values serve as indices into the next "
226 "field."
227 msgstr ""
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid "B<tzh_typecnt> B<ttinfo> entries, each defined as follows:"
233 msgstr ""
234
235 #. type: ta
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "\\w'\\0\\0\\0\\0'u +\\w'unsigned char\\0'u"
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid ""
247 "struct ttinfo {\n"
248 "\tint32_t\ttt_utoff;\n"
249 "\tunsigned char\ttt_isdst;\n"
250 "\tunsigned char\ttt_desigidx;\n"
251 "};\n"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
256 #: opensuse-tumbleweed
257 msgid ""
258 "Each structure is written as a four-byte signed integer value for "
259 "B<tt_utoff>, in network byte order, followed by a one-byte boolean for "
260 "B<tt_isdst> and a one-byte value for B<tt_desigidx>. In each structure, "
261 "B<tt_utoff> gives the number of seconds to be added to UT, B<tt_isdst> tells "
262 "whether B<tm_isdst> should be set by B<localtime>(3) and B<tt_desigidx> "
263 "serves as an index into the array of time zone abbreviation bytes that "
264 "follow the B<ttinfo> entries in the file; if the designated string is "
265 "\"-00\", the B<ttinfo> entry is a placeholder indicating that local time is "
266 "unspecified. The B<tt_utoff> value is never equal to -2**31, to let 32-bit "
267 "clients negate it without overflow. Also, in realistic applications "
268 "B<tt_utoff> is in the range [-89999, 93599] (i.e., more than -25 hours and "
269 "less than 26 hours); this allows easy support by implementations that "
270 "already support the POSIX-required range [-24:59:59, 25:59:59]."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "B<tzh_charcnt> bytes that represent time zone designations, which are null-"
277 "terminated byte strings, each indexed by the B<tt_desigidx> values mentioned "
278 "above, and each corresponding to a time zone abbreviation. The byte strings "
279 "can overlap if one is a suffix of the other. The encoding of these strings "
280 "is not specified."
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
285 #: opensuse-tumbleweed
286 msgid ""
287 "B<tzh_leapcnt> pairs of four-byte values, written in network byte order; the "
288 "first value of each pair gives the non-negative time (as returned by "
289 "B<time>(2)) at which a leap second occurs or at which the leap second table "
290 "expires; the second is a signed integer specifying the correction, which is "
291 "the I<total> number of leap seconds to be applied during the time period "
292 "starting at the given time. The pairs of values are sorted in strictly "
293 "ascending order by time. Each pair denotes one leap second, either positive "
294 "or negative, except that if the last pair has the same correction as the "
295 "previous one, the last pair denotes the leap second table's expiration "
296 "time. Each leap second is at the end of a UTC calendar month. The first "
297 "leap second has a non-negative occurrence time, and is a positive leap "
298 "second if and only if its correction is positive; the correction for each "
299 "leap second after the first differs from the previous leap second by either "
300 "1 for a positive leap second, or -1 for a negative leap second. If the leap "
301 "second table is empty, the leap-second correction is zero for all "
302 "timestamps; otherwise, for timestamps before the first occurrence time, the "
303 "leap-second correction is zero if the first pair's correction is 1 or -1, "
304 "and is unspecified otherwise (which can happen only in files truncated at "
305 "the start)."
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "B<tzh_ttisstdcnt> standard/wall indicators, each stored as a one-byte "
313 "boolean; they tell whether the transition times associated with local time "
314 "types were specified as standard time or local (wall clock) time."
315 msgstr ""
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "B<tzh_ttisutcnt> UT/local indicators, each stored as a one-byte boolean; "
322 "they tell whether the transition times associated with local time types were "
323 "specified as UT or local time. If a UT/local indicator is set, the "
324 "corresponding standard/wall indicator must also be set."
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "The standard/wall and UT/local indicators were designed for transforming a "
331 "TZif file's transition times into transitions appropriate for another time "
332 "zone specified via a proleptic TZ string that lacks rules. For example, "
333 "when TZ=\"EET-2EEST\" and there is no TZif file \"EET-2EEST\", the idea was "
334 "to adapt the transition times from a TZif file with the well-known name "
335 "\"posixrules\" that was present only for this purpose and was a copy of the "
336 "file \"Europe/Brussels\", a file with a different UT offset. POSIX does not "
337 "specify the details of this obsolete transformational behavior, the default "
338 "rules are installation-dependent, and no implementation is known to support "
339 "this feature for timestamps past 2037, so users desiring (say) Greek time "
340 "should instead specify TZ=\"Europe/Athens\" for better historical coverage, "
341 "falling back on TZ=\"EET-2EEST,M3.5.0/3,M10.5.0/4\" if conformance to "
342 "POSIX.1-2017 or earlier is required and older timestamps need not be handled "
343 "accurately."
344 msgstr ""
345
346 #. #-#-#-#-# archlinux: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
347 #. type: Plain text
348 #. #-#-#-#-# debian-trixie: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
349 #. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=122906#47
350 #. Reviewed by upstream and rejected, May 2012
351 #. type: Plain text
352 #. #-#-#-#-# debian-unstable: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
353 #. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=122906#47
354 #. Reviewed by upstream and rejected, May 2012
355 #. type: Plain text
356 #. #-#-#-#-# fedora-44: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
357 #. type: Plain text
358 #. #-#-#-#-# fedora-rawhide: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
359 #. type: Plain text
360 #. #-#-#-#-# mageia-cauldron: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
361 #. type: Plain text
362 #. #-#-#-#-# opensuse-leap-16-1: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
363 #. type: Plain text
364 #. #-#-#-#-# opensuse-tumbleweed: tzfile.5.pot (PACKAGE VERSION) #-#-#-#-#
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid ""
369 "The B<localtime>(3) function normally uses the first B<ttinfo> structure in "
370 "the file if either B<tzh_timecnt> is zero or the time argument is less than "
371 "the first transition time recorded in the file."
372 msgstr ""
373
374 #. type: SS
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "Version 2 format"
379 msgstr ""
380
381 #. type: Plain text
382 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "For version-2-format timezone files, the above header and data are followed "
385 "by a second header and data, identical in format except that eight bytes are "
386 "used for each transition time or leap second time. (Leap second counts "
387 "remain four bytes.) After the second header and data comes a newline-"
388 "enclosed string in the style of the contents of a proleptic TZ, for use in "
389 "handling instants after the last transition time stored in the file or for "
390 "all instants if the file has no transitions. The TZ string is empty (i.e., "
391 "nothing between the newlines) if there is no proleptic representation for "
392 "such instants."
393 msgstr ""
394
395 #. type: Plain text
396 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "If non-empty, the TZ string must agree with the local time type after the "
399 "last transition time if present in the eight-byte data; for example, given "
400 "the string"
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "then if a last transition time is in July, the transition's local time type "
408 "must specify a daylight-saving time abbreviated"
409 msgstr ""
410
411 #. type: Plain text
412 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
413 msgid "that is one hour east of UT."
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "The TZ string can contain time zone abbreviations and UT offsets that do not "
420 "appear elsewhere in the TZif file."
421 msgstr ""
422
423 #. type: Plain text
424 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "Also, if there is at least one transition, time type 0 is associated with "
427 "the time period from the indefinite past up to but not including the "
428 "earliest transition time."
429 msgstr ""
430
431 #. type: SS
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "Version 3 format"
436 msgstr ""
437
438 #. type: Plain text
439 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
440 #: opensuse-tumbleweed
441 msgid ""
442 "For version-3-format timezone files, a TZ string (see B<newtzset>(3)) may "
443 "use the following POSIX.1-2024 extensions to POSIX.1-2017: First, as in "
444 "TZ=\"E<lt>-02E<gt>2E<lt>-01E<gt>,M3.5.0/-1,M10.5.0/0\", the hours part of "
445 "its transition times may be signed and range from -167 through 167 instead "
446 "of being limited to unsigned values from 0 through 24. Second, as in "
447 "TZ=\"XXX3EDT4,0/0,J365/23\", DST is in effect all year if it starts January "
448 "1 at 00:00 and ends December 31 at 24:00 plus the difference between "
449 "daylight saving and standard time."
450 msgstr ""
451
452 #. type: SS
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "Version 4 format"
457 msgstr ""
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "For version-4-format TZif files, the first leap second record can have a "
464 "correction that is neither +1 nor -1, to represent truncation of the TZif "
465 "file at the start. Also, if two or more leap second transitions are present "
466 "and the last entry's correction equals the previous one, the last entry "
467 "denotes the expiration of the leap second table instead of a leap second; "
468 "timestamps after this expiration are unreliable in that future releases will "
469 "likely add leap second entries after the expiration, and the added leap "
470 "seconds will change how post-expiration timestamps are treated."
471 msgstr ""
472
473 #. type: SS
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "Interoperability considerations"
478 msgstr ""
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid "Future changes to the format may append more data."
484 msgstr ""
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "Version 1 files are considered a legacy format and should not be generated, "
491 "as they do not support transition times after the year 2038. Readers that "
492 "understand only Version 1 must ignore any data that extends beyond the "
493 "calculated end of the version 1 data block."
494 msgstr ""
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid ""
500 "Other than version 1, writers should generate the lowest version number "
501 "needed by a file's data. For example, a writer should generate a version 4 "
502 "file only if its leap second table either expires or is truncated at the "
503 "start. Likewise, a writer not generating a version 4 file should generate a "
504 "version 3 file only if TZ string extensions are necessary to accurately "
505 "model transition times."
506 msgstr ""
507
508 #. type: Plain text
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 msgid ""
512 "The sequence of time changes defined by the version 1 header and data block "
513 "should be a contiguous sub-sequence of the time changes defined by the "
514 "version 2+ header and data block, and by the footer. This guideline helps "
515 "obsolescent version 1 readers agree with current readers about timestamps "
516 "within the contiguous sub-sequence. It also lets writers not supporting "
517 "obsolescent readers use a B<tzh_timecnt> of zero in the version 1 data block "
518 "to save space."
519 msgstr ""
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 msgid ""
525 "When a TZif file contains a leap second table expiration time, TZif readers "
526 "should either refuse to process post-expiration timestamps, or process them "
527 "as if the expiration time did not exist (possibly with an error indication)."
528 msgstr ""
529
530 #. type: Plain text
531 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
532 msgid ""
533 "Time zone abbreviations should consist of at least three (3) and no more "
534 "than six (6) ASCII characters from the set of alphanumerics,"
535 msgstr ""
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid "and"
541 msgstr ""
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid ""
547 "This is for compatibility with POSIX requirements for time zone "
548 "abbreviations."
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "A numeric time zone abbreviation should match the UT offset. For example, "
555 "\"+0530\" should be used only if the UT offset is 5.5 hours ahead of UT, and "
556 "\"-00\" should be used only if the UT offset is zero."
557 msgstr ""
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid ""
563 "When reading a version 2 or higher file, readers should ignore the version 1 "
564 "header and data block except for the purpose of skipping over them."
565 msgstr ""
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "Readers should calculate the total lengths of the headers and data blocks "
572 "and check that they all fit within the actual file size, as part of a "
573 "validity check for the file."
574 msgstr ""
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "When a positive leap second occurs, readers should append an extra second to "
581 "the local minute containing the second just before the leap second. If this "
582 "occurs when the UTC offset is not a multiple of 60 seconds, the leap second "
583 "occurs earlier than the last second of the local minute and the minute's "
584 "remaining local seconds are numbered through 60 instead of the usual 59; the "
585 "UTC offset is unaffected."
586 msgstr ""
587
588 #. type: SS
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "Common interoperability issues"
593 msgstr ""
594
595 #. type: Plain text
596 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
597 #: opensuse-tumbleweed
598 msgid ""
599 "This section documents common problems in reading or writing TZif files. "
600 "Most of these are problems in generating TZif files for use by older "
601 "readers. The goals of this section are to help:"
602 msgstr ""
603
604 #. type: Plain text
605 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
606 #: opensuse-tumbleweed
607 msgid ""
608 "TZif writers output files that avoid common pitfalls in older or buggy TZif "
609 "readers,"
610 msgstr ""
611
612 #. type: Plain text
613 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
614 #: opensuse-tumbleweed
615 msgid ""
616 "TZif readers avoid common pitfalls when reading files generated by future "
617 "TZif writers, and"
618 msgstr ""
619
620 #. type: Plain text
621 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
622 #: opensuse-tumbleweed
623 msgid ""
624 "any future specification authors see what sort of problems arise when the "
625 "TZif format is changed."
626 msgstr ""
627
628 #. type: Plain text
629 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
630 #: opensuse-tumbleweed
631 msgid ""
632 "When new versions of the TZif format have been defined, a design goal has "
633 "been that a reader can successfully use a TZif file even if the file is of a "
634 "later TZif version than what the reader was designed for. When complete "
635 "compatibility was not achieved, an attempt was made to limit glitches to "
636 "rarely used timestamps and allow simple partial workarounds in writers "
637 "designed to generate newer-version data useful even for older-version "
638 "readers. This section attempts to document these compatibility issues and "
639 "workarounds as well as documenting other common bugs in readers."
640 msgstr ""
641
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 msgid "Interoperability problems with TZif include the following:"
646 msgstr ""
647
648 #. type: Plain text
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 msgid ""
652 "Some readers examine only version 1 data. As a partial workaround, a writer "
653 "can output as much version 1 data as possible. However, a reader should "
654 "ignore version 1 data, and should use version 2+ data even if the reader's "
655 "native timestamps have only 32 bits."
656 msgstr ""
657
658 #. type: Plain text
659 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
660 #: opensuse-tumbleweed
661 msgid ""
662 "Some readers designed for version 2 might mishandle timestamps after a "
663 "version 3 or higher file's last transition, because they cannot parse the "
664 "POSIX.1-2024 extensions to POSIX.1-2017 in the proleptic TZ string. As a "
665 "partial workaround, a writer can output more transitions than necessary, so "
666 "that only far-future timestamps are mishandled by version 2 readers."
667 msgstr ""
668
669 #. type: Plain text
670 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "Some readers might mishandle timestamps after a file's last transition, "
673 "because they require that all abbreviations or UT offsets in the proleptic "
674 "TZ string must also occur somewhere in the file's tables of time zone "
675 "designations and local time type records. As a workaround, a writer can "
676 "output more transitions than necessary, so that the other tables contain "
677 "duplicates of the proleptic TZ string's abbreviations and offsets."
678 msgstr ""
679
680 #. type: Plain text
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 msgid ""
684 "Some readers designed for version 2 do not support permanent daylight saving "
685 "time with transitions after 24:00 \\(en e.g., a TZ string"
686 msgstr ""
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "denoting permanent Eastern Daylight Time (-04). As a workaround, a writer "
693 "can substitute standard time for two time zones east, e.g.,"
694 msgstr ""
695
696 #. type: Plain text
697 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
698 #: opensuse-tumbleweed
699 msgid ""
700 "for a time zone with a never-used standard time (XXX, -03) and negative "
701 "daylight saving time (EDT, -04) all year. Alternatively, as a partial "
702 "workaround, a writer can substitute standard time for the next time zone "
703 "east \\(en e.g.,"
704 msgstr ""
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 msgid "for permanent Atlantic Standard Time (-04)."
710 msgstr ""
711
712 #. type: Plain text
713 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
714 #: opensuse-tumbleweed
715 msgid ""
716 "Some readers designed for version 2 or 3 and that require strict conformance "
717 "to RFC 9636 reject version 4 files whose leap second tables are truncated at "
718 "the start or end in expiration times."
719 msgstr ""
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 msgid ""
725 "Some readers ignore the footer, and instead predict future timestamps from "
726 "the time type of the last transition. As a partial workaround, a writer can "
727 "output more transitions than necessary."
728 msgstr ""
729
730 #. type: Plain text
731 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
732 #: opensuse-tumbleweed
733 msgid ""
734 "Some stripped-down readers ignore everything but the footer, and use its "
735 "proleptic TZ string to calculate all timestamps. Although this approach "
736 "often works for current and future timestamps, it obviously has problems "
737 "with past timestamps, and even for current timestamps it can fail for "
738 "settings like TZ=\"Africa/Casablanca\". This corresponds to a TZif file "
739 "containing explicit transitions through the year 2087, followed by a footer "
740 "containing the TZ string"
741 msgstr ""
742
743 #. type: Plain text
744 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
745 #: opensuse-tumbleweed
746 msgid ""
747 "which should be used only for timestamps after the last explicit transition."
748 msgstr ""
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 msgid ""
754 "Some readers do not use time type 0 for timestamps before the first "
755 "transition, in that they infer a time type using a heuristic that does not "
756 "always select time type 0. As a partial workaround, a writer can output a "
757 "dummy (no-op) first transition at an early time."
758 msgstr ""
759
760 #. type: Plain text
761 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
762 #: opensuse-tumbleweed
763 msgid ""
764 "Some readers mishandle timestamps before the first transition that has a "
765 "timestamp that is not less than -2**31. Readers that support only 32-bit "
766 "timestamps are likely to be more prone to this problem, for example, when "
767 "they process 64-bit transitions only some of which are representable in 32 "
768 "bits. As a partial workaround, a writer can output a dummy transition at "
769 "timestamp -2**31."
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "Some readers mishandle a transition if its timestamp has the minimum "
777 "possible signed 64-bit value. Timestamps less than -2**59 are not "
778 "recommended."
779 msgstr ""
780
781 #. type: Plain text
782 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
783 #: opensuse-tumbleweed
784 msgid "Some readers mishandle proleptic TZ strings that contain"
785 msgstr ""
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid "As a partial workaround, a writer can avoid using"
791 msgstr ""
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 msgid "for time zone abbreviations containing only alphabetic characters."
797 msgstr ""
798
799 #. type: Plain text
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 msgid ""
803 "Many readers mishandle time zone abbreviations that contain non-ASCII "
804 "characters. These characters are not recommended."
805 msgstr ""
806
807 #. type: Plain text
808 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
809 #: opensuse-tumbleweed
810 msgid ""
811 "Some readers may mishandle time zone abbreviations that contain fewer than 3 "
812 "or more than 6 characters or that contain ASCII characters other than "
813 "alphanumerics,"
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid "These abbreviations are not recommended."
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 msgid ""
826 "Some readers mishandle TZif files that specify daylight-saving time UT "
827 "offsets that are less than the UT offsets for the corresponding standard "
828 "time. These readers do not support locations like Ireland, which uses the "
829 "equivalent of the TZ string"
830 msgstr ""
831
832 #. type: Plain text
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
835 msgid ""
836 "observing standard time (IST, +01) in summer and daylight saving time (GMT, "
837 "+00) in winter. As a partial workaround, a writer can output data for the "
838 "equivalent of the TZ string"
839 msgstr ""
840
841 #. type: Plain text
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 msgid ""
845 "thus swapping standard and daylight saving time. Although this workaround "
846 "misidentifies which part of the year uses daylight saving time, it records "
847 "UT offsets and time zone abbreviations correctly."
848 msgstr ""
849
850 #. type: Plain text
851 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
852 #: opensuse-tumbleweed
853 msgid ""
854 "Some readers generate ambiguous timestamps for positive leap seconds that "
855 "occur when the UTC offset is not a multiple of 60 seconds. For example, "
856 "with UTC offset +01:23:45 and a positive leap second 78796801 (1972-06-30 "
857 "23:59:60 UTC), some readers will map both 78796800 and 78796801 to 01:23:45 "
858 "local time the next day instead of mapping the latter to 01:23:46, and they "
859 "will map 78796815 to 01:23:59 instead of to 01:23:60. This has not yet been "
860 "a practical problem, since no civil authority has observed such UTC offsets "
861 "since leap seconds were introduced in 1972."
862 msgstr ""
863
864 #. type: Plain text
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 msgid ""
868 "Some interoperability problems are reader bugs that are listed here mostly "
869 "as warnings to developers of readers."
870 msgstr ""
871
872 #. type: Plain text
873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
875 msgid ""
876 "Some readers do not support negative timestamps. Developers of distributed "
877 "applications should keep this in mind if they need to deal with pre-1970 "
878 "data."
879 msgstr ""
880
881 #. type: Plain text
882 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
883 #: opensuse-tumbleweed
884 msgid ""
885 "Some readers mishandle timestamps before the first transition that has a non-"
886 "negative timestamp. Readers that do not support negative timestamps are "
887 "likely to be more prone to this problem."
888 msgstr ""
889
890 #. type: Plain text
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 msgid "Some readers mishandle time zone abbreviations like"
894 msgstr ""
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid "that contain"
900 msgstr ""
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid "or digits."
906 msgstr ""
907
908 #. type: Plain text
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 msgid ""
912 "Some readers mishandle UT offsets that are out of the traditional range of "
913 "-12 through +12 hours, and so do not support locations like Kiritimati that "
914 "are outside this range."
915 msgstr ""
916
917 #. type: Plain text
918 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
919 #: opensuse-tumbleweed
920 msgid ""
921 "Some readers mishandle UT offsets in the range [-3599, -1] seconds from UT "
922 "because they integer-divide the offset by 3600 to get 0 and then display the "
923 "hour part as"
924 msgstr ""
925
926 #. type: Plain text
927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
929 msgid ""
930 "Some readers mishandle UT offsets that are not a multiple of one hour, or of "
931 "15 minutes, or of 1 minute."
932 msgstr ""
933
934 #. type: SH
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 #, no-wrap
938 msgid "SEE ALSO"
939 msgstr ""
940
941 #. type: Plain text
942 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
943 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
944 msgid ""
945 "B<time>(2), B<localtime>(3), B<tzset>(3), B<tzselect>(8), B<zdump>(8), "
946 "B<zic>(8)."
947 msgstr ""
948
949 #. type: Plain text
950 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
951 msgid ""
952 "Olson A, Eggert P, Murchison K. The Time Zone Information Format (TZif). "
953 "October 2024. E<.UR https://\\:www.rfc-editor.org/\\:rfc/\\:rfc9636> "
954 "Internet RFC 9636 E<.UE> E<.UR https://\\:doi.org/\\:10.17487/\\:RFC9636> "
955 "doi:10.17487/RFC9636 E<.UE .>"
956 msgstr ""
957
958 #. type: Plain text
959 #: debian-trixie fedora-44 fedora-rawhide
960 msgid ""
961 "The timezone information files used by B<tzset>(3) are typically found "
962 "under a directory with a name like I</usr/share/zoneinfo>. These files use "
963 "the format described in Internet RFC 8536. Each file is a sequence of 8-bit "
964 "bytes. In a file, a binary integer is represented by a sequence of one or "
965 "more bytes in network order (bigendian, or high-order byte first), with all "
966 "bits significant, a signed binary integer is represented using two's "
967 "complement, and a boolean is represented by a one-byte binary integer that "
968 "is either 0 (false) or 1 (true). The format begins with a 44-byte header "
969 "containing the following fields:"
970 msgstr ""
971
972 #. type: Plain text
973 #: debian-trixie fedora-44 fedora-rawhide
974 msgid ""
975 "B<tzh_timecnt> one-byte unsigned integer values; each one but the last tells "
976 "which of the different types of local time types described in the file is "
977 "associated with the time period starting with the same-indexed transition "
978 "time and continuing up to but not including the next transition time. (The "
979 "last time type is present only for consistency checking with the "
980 "POSIX.1-2017-style TZ string described below.) These values serve as "
981 "indices into the next field."
982 msgstr ""
983
984 #. type: Plain text
985 #: debian-trixie fedora-44 fedora-rawhide
986 msgid ""
987 "Each structure is written as a four-byte signed integer value for "
988 "B<tt_utoff>, in network byte order, followed by a one-byte boolean for "
989 "B<tt_isdst> and a one-byte value for B<tt_desigidx>. In each structure, "
990 "B<tt_utoff> gives the number of seconds to be added to UT, B<tt_isdst> tells "
991 "whether B<tm_isdst> should be set by B<localtime>(3) and B<tt_desigidx> "
992 "serves as an index into the array of time zone abbreviation bytes that "
993 "follow the B<ttinfo> entries in the file; if the designated string is "
994 "\"\\*-00\", the B<ttinfo> entry is a placeholder indicating that local time "
995 "is unspecified. The B<tt_utoff> value is never equal to -2**31, to let 32-"
996 "bit clients negate it without overflow. Also, in realistic applications "
997 "B<tt_utoff> is in the range [-89999, 93599] (i.e., more than -25 hours and "
998 "less than 26 hours); this allows easy support by implementations that "
999 "already support the POSIX-required range [-24:59:59, 25:59:59]."
1000 msgstr ""
1001
1002 #. type: Plain text
1003 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1004 msgid ""
1005 "B<tzh_charcnt> bytes that represent time zone designations, which are null-"
1006 "terminated byte strings, each indexed by the B<tt_desigidx> values mentioned "
1007 "above. The byte strings can overlap if one is a suffix of the other. The "
1008 "encoding of these strings is not specified."
1009 msgstr ""
1010
1011 #. type: Plain text
1012 #: debian-trixie fedora-44 fedora-rawhide
1013 msgid ""
1014 "B<tzh_leapcnt> pairs of four-byte values, written in network byte order; the "
1015 "first value of each pair gives the nonnegative time (as returned by "
1016 "B<time>(2)) at which a leap second occurs or at which the leap second table "
1017 "expires; the second is a signed integer specifying the correction, which is "
1018 "the I<total> number of leap seconds to be applied during the time period "
1019 "starting at the given time. The pairs of values are sorted in strictly "
1020 "ascending order by time. Each pair denotes one leap second, either positive "
1021 "or negative, except that if the last pair has the same correction as the "
1022 "previous one, the last pair denotes the leap second table's expiration "
1023 "time. Each leap second is at the end of a UTC calendar month. The first "
1024 "leap second has a nonnegative occurrence time, and is a positive leap second "
1025 "if and only if its correction is positive; the correction for each leap "
1026 "second after the first differs from the previous leap second by either 1 for "
1027 "a positive leap second, or -1 for a negative leap second. If the leap "
1028 "second table is empty, the leap-second correction is zero for all "
1029 "timestamps; otherwise, for timestamps before the first occurrence time, the "
1030 "leap-second correction is zero if the first pair's correction is 1 or -1, "
1031 "and is unspecified otherwise (which can happen only in files truncated at "
1032 "the start)."
1033 msgstr ""
1034
1035 #. type: Plain text
1036 #: debian-trixie fedora-44 fedora-rawhide
1037 msgid ""
1038 "The standard/wall and UT/local indicators were designed for transforming a "
1039 "TZif file's transition times into transitions appropriate for another time "
1040 "zone specified via a POSIX.1-2017-style TZ string that lacks rules. For "
1041 "example, when TZ=\"EET\\*-2EEST\" and there is no TZif file "
1042 "\"EET\\*-2EEST\", the idea was to adapt the transition times from a TZif "
1043 "file with the well-known name \"posixrules\" that is present only for this "
1044 "purpose and is a copy of the file \"Europe/Brussels\", a file with a "
1045 "different UT offset. POSIX does not specify this obsolete transformational "
1046 "behavior, the default rules are installation-dependent, and no "
1047 "implementation is known to support this feature for timestamps past 2037, so "
1048 "users desiring (say) Greek time should instead specify TZ=\"Europe/Athens\" "
1049 "for better historical coverage, falling back on "
1050 "TZ=\"EET\\*-2EEST,M3.5.0/3,M10.5.0/4\" if POSIX conformance is required and "
1051 "older timestamps need not be handled accurately."
1052 msgstr ""
1053
1054 #. type: SH
1055 #: debian-trixie debian-unstable
1056 #, no-wrap
1057 msgid "NOTES"
1058 msgstr ""
1059
1060 #. type: Plain text
1061 #: debian-trixie debian-unstable
1062 msgid ""
1063 "This manual page documents I<E<lt>tzfile.hE<gt>> in the glibc source "
1064 "archive, see I<timezone/tzfile.h>."
1065 msgstr ""
1066
1067 #. End of patch
1068 #. type: Plain text
1069 #: debian-trixie debian-unstable
1070 msgid ""
1071 "It seems that B<timezone>(3) uses B<tzfile> internally, but glibc refuses "
1072 "to expose it to userspace. This is most likely because the standardised "
1073 "functions are more useful and portable, and actually documented by glibc. "
1074 "It may only be in glibc just to support the non-glibc-maintained timezone "
1075 "data (which is maintained by some other entity)."
1076 msgstr ""
1077
1078 #. type: Plain text
1079 #: debian-trixie fedora-44 fedora-rawhide
1080 msgid ""
1081 "For version-2-format timezone files, the above header and data are followed "
1082 "by a second header and data, identical in format except that eight bytes are "
1083 "used for each transition time or leap second time. (Leap second counts "
1084 "remain four bytes.) After the second header and data comes a newline-"
1085 "enclosed string in the style of the contents of a POSIX.1-2017 TZ "
1086 "environment variable, for use in handling instants after the last transition "
1087 "time stored in the file or for all instants if the file has no transitions. "
1088 "The TZ string is empty (i.e., nothing between the newlines) if there is no "
1089 "POSIX.1-2017-style representation for such instants. If nonempty, the TZ "
1090 "string must agree with the local time type after the last transition time if "
1091 "present in the eight-byte data; for example, given the string"
1092 msgstr ""
1093
1094 #. type: Plain text
1095 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1096 msgid ""
1097 "that is one hour east of UT. Also, if there is at least one transition, "
1098 "time type 0 is associated with the time period from the indefinite past up "
1099 "to but not including the earliest transition time."
1100 msgstr ""
1101
1102 #. type: Plain text
1103 #: debian-trixie fedora-44 fedora-rawhide
1104 msgid ""
1105 "For version-3-format timezone files, the TZ string may use two minor "
1106 "extensions to the POSIX.1-2017 TZ format, as described in B<newtzset>(3). "
1107 "First, the hours part of its transition times may be signed and range from "
1108 "-167 through 167 instead of the POSIX-required unsigned values from 0 "
1109 "through 24. Second, DST is in effect all year if it starts January 1 at "
1110 "00:00 and ends December 31 at 24:00 plus the difference between daylight "
1111 "saving and standard time."
1112 msgstr ""
1113
1114 #. type: Plain text
1115 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1116 msgid ""
1117 "Time zone designations should consist of at least three (3) and no more "
1118 "than six (6) ASCII characters from the set of alphanumerics,"
1119 msgstr ""
1120
1121 #. type: Plain text
1122 #: debian-trixie fedora-44 fedora-rawhide
1123 msgid ""
1124 "This section documents common problems in reading or writing TZif files. "
1125 "Most of these are problems in generating TZif files for use by older "
1126 "readers. The goals of this section are:"
1127 msgstr ""
1128
1129 #. type: Plain text
1130 #: debian-trixie fedora-44 fedora-rawhide
1131 msgid ""
1132 "to help TZif writers output files that avoid common pitfalls in older or "
1133 "buggy TZif readers,"
1134 msgstr ""
1135
1136 #. type: Plain text
1137 #: debian-trixie fedora-44 fedora-rawhide
1138 msgid ""
1139 "to help TZif readers avoid common pitfalls when reading files generated by "
1140 "future TZif writers, and"
1141 msgstr ""
1142
1143 #. type: Plain text
1144 #: debian-trixie fedora-44 fedora-rawhide
1145 msgid ""
1146 "to help any future specification authors see what sort of problems arise "
1147 "when the TZif format is changed."
1148 msgstr ""
1149
1150 #. type: Plain text
1151 #: debian-trixie fedora-44 fedora-rawhide
1152 msgid ""
1153 "When new versions of the TZif format have been defined, a design goal has "
1154 "been that a reader can successfully use a TZif file even if the file is of a "
1155 "later TZif version than what the reader was designed for. When complete "
1156 "compatibility was not achieved, an attempt was made to limit glitches to "
1157 "rarely used timestamps and allow simple partial workarounds in writers "
1158 "designed to generate new-version data useful even for older-version "
1159 "readers. This section attempts to document these compatibility issues and "
1160 "workarounds, as well as to document other common bugs in readers."
1161 msgstr ""
1162
1163 #. type: Plain text
1164 #: debian-trixie fedora-44 fedora-rawhide
1165 msgid ""
1166 "Some readers designed for version 2 might mishandle timestamps after a "
1167 "version 3 or higher file's last transition, because they cannot parse "
1168 "extensions to POSIX.1-2017 in the TZ-like string. As a partial workaround, "
1169 "a writer can output more transitions than necessary, so that only far-future "
1170 "timestamps are mishandled by version 2 readers."
1171 msgstr ""
1172
1173 #. type: Plain text
1174 #: debian-trixie fedora-44 fedora-rawhide
1175 msgid ""
1176 "for a time zone with a never-used standard time (XXX, -03) and negative "
1177 "daylight saving time (EDT, -04) all year. Alternatively, as a partial "
1178 "workaround a writer can substitute standard time for the next time zone east "
1179 "\\(en e.g.,"
1180 msgstr ""
1181
1182 #. type: Plain text
1183 #: debian-trixie fedora-44 fedora-rawhide
1184 msgid ""
1185 "Some readers designed for version 2 or 3, and that require strict "
1186 "conformance to RFC 8536, reject version 4 files whose leap second tables are "
1187 "truncated at the start or that end in expiration times."
1188 msgstr ""
1189
1190 #. type: Plain text
1191 #: debian-trixie fedora-44 fedora-rawhide
1192 msgid ""
1193 "Some readers mishandle timestamps before the first transition that has a "
1194 "timestamp not less than -2**31. Readers that support only 32-bit timestamps "
1195 "are likely to be more prone to this problem, for example, when they process "
1196 "64-bit transitions only some of which are representable in 32 bits. As a "
1197 "partial workaround, a writer can output a dummy transition at timestamp "
1198 "-2**31."
1199 msgstr ""
1200
1201 #. type: Plain text
1202 #: debian-trixie fedora-44 fedora-rawhide
1203 msgid "Some readers mishandle TZ strings that contain"
1204 msgstr ""
1205
1206 #. type: Plain text
1207 #: debian-trixie fedora-44 fedora-rawhide
1208 msgid ""
1209 "Some readers may mishandle time zone abbreviations that contain fewer than 3 "
1210 "or more than 6 characters, or that contain ASCII characters other than "
1211 "alphanumerics,"
1212 msgstr ""
1213
1214 #. type: Plain text
1215 #: debian-trixie fedora-44 fedora-rawhide
1216 msgid ""
1217 "Some readers generate ambiguous timestamps for positive leap seconds that "
1218 "occur when the UTC offset is not a multiple of 60 seconds. For example, in "
1219 "a timezone with UTC offset +01:23:45 and with a positive leap second "
1220 "78796801 (1972-06-30 23:59:60 UTC), some readers will map both 78796800 and "
1221 "78796801 to 01:23:45 local time the next day instead of mapping the latter "
1222 "to 01:23:46, and they will map 78796815 to 01:23:59 instead of to 01:23:60. "
1223 "This has not yet been a practical problem, since no civil authority has "
1224 "observed such UTC offsets since leap seconds were introduced in 1972."
1225 msgstr ""
1226
1227 #. type: Plain text
1228 #: debian-trixie fedora-44 fedora-rawhide
1229 msgid ""
1230 "Some readers mishandle timestamps before the first transition that has a "
1231 "nonnegative timestamp. Readers that do not support negative timestamps are "
1232 "likely to be more prone to this problem."
1233 msgstr ""
1234
1235 #. type: Plain text
1236 #: debian-trixie fedora-44 fedora-rawhide
1237 msgid ""
1238 "Some readers mishandle UT offsets in the range [-3599, -1] seconds from UT, "
1239 "because they integer-divide the offset by 3600 to get 0 and then display the "
1240 "hour part as"
1241 msgstr ""
1242
1243 #. type: Plain text
1244 #: debian-trixie fedora-44 fedora-rawhide
1245 msgid ""
1246 "Olson A, Eggert P, Murchison K. The Time Zone Information Format (TZif). "
1247 "2019 Feb. E<.UR https://\\:datatracker.ietf.org/\\:doc/\\:html/\\:rfc8536> "
1248 "Internet RFC 8536 E<.UE> E<.UR https://\\:doi.org/\\:10.17487/\\:RFC8536> "
1249 "doi:10.17487/RFC8536 E<.UE .>"
1250 msgstr ""
1251
1252 #. type: Plain text
1253 #: mageia-cauldron
1254 msgid ""
1255 "The standard/wall and UT/local indicators were designed for transforming a "
1256 "TZif file's transition times into transitions appropriate for another time "
1257 "zone specified via a proleptic TZ string that lacks rules. For example, "
1258 "when TZ=\"EET-2EEST\" and there is no TZif file \"EET-2EEST\", the idea was "
1259 "to adapt the transition times from a TZif file with the well-known name "
1260 "\"posixrules\" that is present only for this purpose and is a copy of the "
1261 "file \"Europe/Brussels\", a file with a different UT offset. POSIX does not "
1262 "specify the details of this obsolete transformational behavior, the default "
1263 "rules are installation-dependent, and no implementation is known to support "
1264 "this feature for timestamps past 2037, so users desiring (say) Greek time "
1265 "should instead specify TZ=\"Europe/Athens\" for better historical coverage, "
1266 "falling back on TZ=\"EET-2EEST,M3.5.0/3,M10.5.0/4\" if POSIX conformance is "
1267 "required and older timestamps need not be handled accurately."
1268 msgstr ""
1269
1270 #. type: Plain text
1271 #: mageia-cauldron
1272 msgid ""
1273 "For version-2-format timezone files, the above header and data are followed "
1274 "by a second header and data, identical in format except that eight bytes are "
1275 "used for each transition time or leap second time. (Leap second counts "
1276 "remain four bytes.) After the second header and data comes a newline-"
1277 "enclosed string in the style of the contents of a proleptic TZ, for use in "
1278 "handling instants after the last transition time stored in the file or for "
1279 "all instants if the file has no transitions. The TZ string is empty (i.e., "
1280 "nothing between the newlines) if there is no proleptic representation for "
1281 "such instants. If non-empty, the TZ string must agree with the local time "
1282 "type after the last transition time if present in the eight-byte data; for "
1283 "example, given the string"
1284 msgstr ""
1285
1286 #. type: Plain text
1287 #: mageia-cauldron
1288 msgid ""
1289 "Olson A, Eggert P, Murchison K. The Time Zone Information Format (TZif). "
1290 "October 2024. E<.UR https:\\://\\:www.rfc-editor.org/\\:rfc/\\:rfc9636> "
1291 "Internet RFC 9636 E<.UE> E<.UR https:\\://\\:doi.org/\\:10.17487/\\:RFC9636> "
1292 "doi:10.17487/RFC9636 E<.UE .>"
1293 msgstr ""