1.\" This file is in the public domain, so clarified as of 2.\" 2009-05-17 by Arthur David Olson. 3.\" 4.\" $FreeBSD$ 5.\" 6.Dd December 15, 2022 7.Dt ZIC 8 8.Os 9.Sh NAME 10.Nm zic 11.Nd timezone compiler 12.Sh SYNOPSIS 13.Nm 14.Op Fl -help 15.Op Fl -version 16.Op Fl Dsv 17.Op Fl b Ar slim | fat 18.Op Fl d Ar directory 19.Op Fl g Ar gid 20.Op Fl l Ar localtime 21.Op Fl L Ar leapseconds 22.Op Fl m Ar mode 23.Op Fl p Ar posixrules 24.Oo 25.Fl r 26.Op @ Ns Ar lo Ns 27.Op /@ Ns Ar hi 28.Oc 29.Op Fl R @ Ns Ar hi 30.Op Fl t Ar localtime-link 31.Op Fl u Ar uid 32.Op Ar filename ... 33.Sh DESCRIPTION 34The 35.Nm 36program reads text from the file(s) named on the command line 37and creates the timezone information format (TZif) files 38specified in this input. 39If a 40.Ar filename 41is 42.Dq "-" , 43standard input is read. 44.Pp 45The following options are available: 46.Bl -tag -width indent 47.It Fl -version 48Output version information and exit. 49.It Fl -help 50Output short usage message and exit. 51.It Fl b Ar bloat 52Output backward-compatibility data as specified by 53.Ar bloat . 54If 55.Ar bloat 56is 57.Cm fat , 58generate additional data entries that work around potential bugs or 59incompatibilities in older software, such as software that mishandles 60the 64-bit generated data. 61If 62.Ar bloat 63is 64.Cm slim , 65keep the output files small; this can help check for the bugs 66and incompatibilities. 67The default is 68.Cm slim , 69as software that mishandles 64-bit data typically 70mishandles timestamps after the year 2038 anyway. 71Also see the 72.Fl r 73option for another way to alter output size. 74.It Fl d Ar directory 75Create time conversion information files in the named directory rather than 76in the standard directory named below. 77.It Fl l Ar timezone 78Use 79.Ar timezone 80as local time. 81The 82.Nm 83utility 84will act as if the input contained a link line of the form 85.Bd -literal -offset indent 86Link timezone localtime 87.Ed 88.Pp 89If 90.Ar timezone 91is 92.Ql - , 93any already-existing link is removed. 94.It Fl L Ar filename 95Read leap second information from the file with the given name. 96If this option is not used, 97no leap second information appears in output files. 98.It Fl p Ar timezone 99Use 100.Ar timezone 's 101rules when handling nonstandard 102TZ strings like 103.Dq "EET\-2EEST" 104that lack transition rules. 105The 106.Nm 107utility 108will act as if the input contained a link line of the form 109.Bd -literal -offset indent 110Link \fItimezone\fP posixrules 111.Ed 112.Pp 113This feature is obsolete and poorly supported. 114Among other things it should not be used for timestamps after the year 2037, 115and it should not be combined with 116.Fl b Cm slim 117if 118.Ar timezone 's 119transitions are at standard time or Universal Time (UT) instead of local time. 120.Pp 121If 122.Ar timezone 123is 124.Ql - , 125any already-existing link is removed. 126.It Fl r Oo @ Ns Ar lo Oc Ns Oo /@ Ns Ar hi Oc 127Limit the applicability of output files 128to timestamps in the range from 129.Ar lo 130(inclusive) to 131.Ar hi 132(exclusive), where 133.Ar lo 134and 135.Ar hi 136are possibly-signed decimal counts of seconds since the Epoch 137(1970-01-01 00:00:00 UTC). 138Omitted counts default to extreme values. 139The output files use UT offset 0 and abbreviation 140.Dq "\-00" 141in place of the omitted timestamp data. 142For example, 143.Fl r @0 144omits data intended for negative timestamps (i.e., before the Epoch), and 145.Fl r @0/@2147483648 146outputs data intended only for nonnegative timestamps that fit into 14731-bit signed integers. 148Although this option typically reduces the output file's size, 149the size can increase due to the need to represent the timestamp range 150boundaries, particularly if 151.Ar hi 152causes a TZif file to contain explicit entries for 153.Em pre- 154.Ar hi 155transitions rather than concisely representing them 156with an extended POSIX TZ string. 157Also see the 158.Fl b Cm slim 159option for another way to shrink output size. 160.It Fl R @ Ns Ar hi 161Generate redundant trailing explicit transitions for timestamps 162that occur less than 163.Ar hi 164seconds since the Epoch, even though the transitions could be 165more concisely represented via the extended POSIX TZ string. 166This option does not affect the represented timestamps. 167Although it accommodates nonstandard TZif readers 168that ignore the extended POSIX TZ string, 169it increases the size of the altered output files. 170.It Fl t Ar file 171When creating local time information, put the configuration link in 172the named file rather than in the standard location. 173.It Fl v 174Be more verbose, and complain about the following situations: 175.Bl -bullet 176.It 177The input specifies a link to a link, 178something not supported by some older parsers, including 179.Nm 180itself through release 2022e. 181.It 182A year that appears in a data file is outside the range 183of representable years. 184.It 185A time of 24:00 or more appears in the input. 186Pre-1998 versions of 187.Nm 188prohibit 24:00, and pre-2007 versions prohibit times greater than 24:00. 189.It 190A rule goes past the start or end of the month. 191Pre-2004 versions of 192.Nm 193prohibit this. 194.It 195A time zone abbreviation uses a 196.Ql %z 197format. 198Pre-2015 versions of 199.Nm 200do not support this. 201.It 202A timestamp contains fractional seconds. 203Pre-2018 versions of 204.Nm 205do not support this. 206.It 207The input contains abbreviations that are mishandled by pre-2018 versions of 208.Nm 209due to a longstanding coding bug. 210These abbreviations include 211.Dq L 212for 213.Dq Link , 214.Dq mi 215for 216.Dq min , 217.Dq Sa 218for 219.Dq Sat , 220and 221.Dq Su 222for 223.Dq Sun . 224.It 225The output file does not contain all the information about the 226long-term future of a timezone, because the future cannot be summarized as 227an extended POSIX TZ string. 228For example, as of 2019 this problem 229occurs for Iran's daylight-saving rules for the predicted future, as 230these rules are based on the Iranian calendar, which cannot be 231represented. 232.It 233The output contains data that may not be handled properly by client 234code designed for older 235.Nm 236output formats. 237These compatibility issues affect only timestamps 238before 1970 or after the start of 2038. 239.It 240The output contains a truncated leap second table, 241which can cause some older TZif readers to misbehave. 242This can occur if the 243.Fl L 244option is used, and either an Expires line is present or 245the 246.Fl r 247option is also used. 248.It 249The output file contains more than 1200 transitions, 250which may be mishandled by some clients. 251The current reference client supports at most 2000 transitions; 252pre-2014 versions of the reference client support at most 1200 253transitions. 254.It 255A time zone abbreviation has fewer than 3 or more than 6 characters. 256POSIX requires at least 3, and requires implementations to support 257at least 6. 258.It 259An output file name contains a byte that is not an ASCII letter, 260.Dq "\-" , 261.Dq "/" , 262or 263.Dq "_" ; 264or it contains a file name component that contains more than 14 bytes 265or that starts with 266.Dq "\-" . 267.El 268.El 269.RE 270.Sh FILES 271Input files use the format described in this section; output files use 272.Xr tzfile 5 273format. 274.Pp 275Input files should be text files, that is, they should be a series of 276zero or more lines, each ending in a newline byte and containing at 277most 2048 bytes counting the newline, and without any NUL bytes. 278The input text's encoding 279is typically UTF-8 or ASCII; it should have a unibyte representation 280for the POSIX Portable Character Set (PPCS) 281\*<https://pubs\*:.opengroup\*:.org/\*:onlinepubs/\*:9699919799/\*:basedefs/\*:V1_chap06\*:.html\*> 282and the encoding's non-unibyte characters should consist entirely of 283non-PPCS bytes. 284Non-PPCS characters typically occur only in comments: 285although output file names and time zone abbreviations can contain 286nearly any character, other software will work better if these are 287limited to the restricted syntax described under the 288.Fl v 289option. 290.Pp 291Input lines are made up of fields. 292Fields are separated from one another by one or more white space characters. 293The white space characters are space, form feed, carriage return, newline, 294tab, and vertical tab. 295Leading and trailing white space on input lines is ignored. 296An unquoted sharp character (\(sh) in the input introduces a comment which extends 297to the end of the line the sharp character appears on. 298White space characters and sharp characters may be enclosed in double quotes 299(\(dq) if they're to be used as part of a field. 300Any line that is blank (after comment stripping) is ignored. 301Nonblank lines are expected to be of one of three types: 302rule lines, zone lines, and link lines. 303.Pp 304Names must be in English and are case insensitive. 305They appear in several contexts, and include month and weekday names 306and keywords such as 307.Dq "maximum" , 308.Dq "only" , 309.Dq "Rolling" , 310and 311.Dq "Zone" . 312A name can be abbreviated by omitting all but an initial prefix; any 313abbreviation must be unambiguous in context. 314.Pp 315A rule line has the form 316.Bd -literal -offset indent 317Rule NAME FROM TO \- IN ON AT SAVE LETTER/S 318.Ed 319.Pp 320For example: 321.Bd -literal -offset indent 322Rule US 1967 1973 \- Apr lastSun 2:00w 1:00d D 323.Ed 324.Pp 325The fields that make up a rule line are: 326.Bl -tag -width "LETTER/S" 327.It NAME 328Gives the name of the rule set that contains this line. 329The name must start with a character that is neither 330an ASCII digit nor 331.Dq \- 332nor 333.Dq + . 334To allow for future extensions, 335an unquoted name should not contain characters from the set 336.Dq Ql "!$%&'()*,/:;<=>?@[\]^`{|}~" . 337.It FROM 338Gives the first year in which the rule applies. 339Any signed integer year can be supplied; the proleptic Gregorian calendar 340is assumed, with year 0 preceding year 1. 341The word 342.Cm minimum 343(or an abbreviation) means the indefinite past. 344The word 345.Cm maximum 346(or an abbreviation) means the indefinite future. 347Rules can describe times that are not representable as time values, 348with the unrepresentable times ignored; this allows rules to be portable 349among hosts with differing time value types. 350.It TO 351Gives the final year in which the rule applies. 352In addition to 353.Cm minimum 354and 355.Cm maximum 356(as above), 357the word 358.Cm only 359(or an abbreviation) 360may be used to repeat the value of the 361.Ar FROM 362field. 363.It \- 364Is a reserved field and should always contain 365.Ql \- 366for compatibility with older versions of 367.Nm . 368It was previously known as the 369.Ar TYPE 370field, which could contain values to allow a 371separate script to further restrict in which 372.Dq types 373of years the rule would apply. 374.It IN 375Names the month in which the rule takes effect. 376Month names may be abbreviated. 377.It ON 378Gives the day on which the rule takes effect. 379Recognized forms include: 380.Bl -tag -compact -width "Sun<=25" 381.It 5 382the fifth of the month 383.It lastSun 384the last Sunday in the month 385.It lastMon 386the last Monday in the month 387.It Sun>=8 388first Sunday on or after the eighth 389.It Sun<=25 390last Sunday on or before the 25th 391.El 392.Pp 393A weekday name (e.g., 394.Ql "Sunday" ) 395or a weekday name preceded by 396.Dq "last" 397(e.g., 398.Ql "lastSunday" ) 399may be abbreviated or spelled out in full. 400There must be no white space characters within the 401.Ar ON 402field. 403The 404.Dq <= 405and 406.Dq >= 407constructs can result in a day in the neighboring month; 408for example, the IN-ON combination 409.Dq "Oct Sun>=31" 410stands for the first Sunday on or after October 31, 411even if that Sunday occurs in November. 412.It AT 413Gives the time of day at which the rule takes effect, 414relative to 00:00, the start of a calendar day. 415Recognized forms include: 416.Bl -tag -compact -width "00:19:32.13" 417.It 2 418time in hours 419.It 2:00 420time in hours and minutes 421.It 01:28:14 422time in hours, minutes, and seconds 423.It 00:19:32.13 424time with fractional seconds 425.It 12:00 426midday, 12 hours after 00:00 427.It 15:00 4283 PM, 15 hours after 00:00 429.It 24:00 430end of day, 24 hours after 00:00 431.It 260:00 432260 hours after 00:00 433.It \-2:30 4342.5 hours before 00:00 435.It \- 436equivalent to 0 437.El 438.Pp 439Although 440.Nm 441rounds times to the nearest integer second 442(breaking ties to the even integer), the fractions may be useful 443to other applications requiring greater precision. 444The source format does not specify any maximum precision. 445Any of these forms may be followed by the letter 446.Ql w 447if the given time is local or 448.Dq "wall clock" 449time, 450.Ql s 451if the given time is standard time without any adjustment for daylight saving, 452or 453.Ql u 454(or 455.Ql g 456or 457.Ql z ) 458if the given time is universal time; 459in the absence of an indicator, 460local (wall clock) time is assumed. 461These forms ignore leap seconds; for example, 462if a leap second occurs at 00:59:60 local time, 463.Ql "1:00" 464stands for 3601 seconds after local midnight instead of the usual 3600 seconds. 465The intent is that a rule line describes the instants when a 466clock/calendar set to the type of time specified in the 467.Ar AT 468field would show the specified date and time of day. 469.It SAVE 470Gives the amount of time to be added to local standard time when the rule is in 471effect, and whether the resulting time is standard or daylight saving. 472This field has the same format as the 473.Ar AT 474field 475except with a different set of suffix letters: 476.Ql s 477for standard time and 478.Ql d 479for daylight saving time. 480The suffix letter is typically omitted, and defaults to 481.Ql s 482if the offset is zero and to 483.Ql d 484otherwise. 485Negative offsets are allowed; in Ireland, for example, daylight saving 486time is observed in winter and has a negative offset relative to 487Irish Standard Time. 488The offset is merely added to standard time; for example, 489.Nm 490does not distinguish a 10:30 standard time plus an 0:30 491.Ar SAVE 492from a 10:00 standard time plus a 1:00 493.Ar SAVE . 494.It LETTER/S 495Gives the 496.Dq "variable part" 497(for example, the 498.Dq "S" 499or 500.Dq "D" 501in 502.Dq "EST" 503or 504.Dq "EDT" ) 505of time zone abbreviations to be used when this rule is in effect. 506If this field is 507.Ql \- , 508the variable part is null. 509.El 510.Pp 511A zone line has the form 512.Bd -literal -offset indent 513Zone NAME STDOFF RULES FORMAT [UNTIL] 514.Ed 515.Pp 516For example: 517.Bd -literal -offset indent 518Zone Asia/Amman 2:00 Jordan EE%sT 2017 Oct 27 01:00 519.Ed 520.Pp 521The fields that make up a zone line are: 522.Bl -tag -width "STDOFF" 523.It NAME 524The name of the timezone. 525This is the name used in creating the time conversion information file for the 526timezone. 527It should not contain a file name component 528.Dq ".\&" 529or 530.Dq ".." ; 531a file name component is a maximal substring that does not contain 532.Dq "/" . 533.It STDOFF 534The amount of time to add to UT to get standard time, 535without any adjustment for daylight saving. 536This field has the same format as the 537.Ar AT 538and 539.Ar SAVE 540fields of rule lines, except without suffix letters; 541begin the field with a minus sign if time must be subtracted from UT. 542.It RULES 543The name of the rules that apply in the timezone or, 544alternatively, a field in the same format as a rule-line SAVE column, 545giving the amount of time to be added to local standard time 546and whether the resulting time is standard or daylight saving. 547If this field is 548.Ql \- 549then standard time always applies. 550When an amount of time is given, only the sum of standard time and 551this amount matters. 552.It FORMAT 553The format for time zone abbreviations. 554The pair of characters 555.Ql %s 556is used to show where the 557.Dq "variable part" 558of the time zone abbreviation goes. 559Alternatively, a format can use the pair of characters 560.Ql %z 561to stand for the UT offset in the form 562.Ar \(+- hh , 563.Ar \(+- hhmm , 564or 565.Ar \(+- hhmmss , 566using the shortest form that does not lose information, where 567.Ar hh , 568.Ar mm , 569and 570.Ar ss 571are the hours, minutes, and seconds east (+) or west (\-) of UT. 572Alternatively, 573a slash (/) 574separates standard and daylight abbreviations. 575To conform to POSIX, a time zone abbreviation should contain only 576alphanumeric ASCII characters, 577.Ql "+" 578and 579.Ql "\-". 580By convention, the time zone abbreviation 581.Ql "\-00" 582is a placeholder that means local time is unspecified. 583.It UNTIL 584The time at which the UT offset or the rule(s) change for a location. 585It takes the form of one to four fields 586.Ar YEAR Op Ar MONTH Op Ar DAY Op Ar TIME . 587If this is specified, 588the time zone information is generated from the given UT offset 589and rule change until the time specified, which is interpreted using 590the rules in effect just before the transition. 591The month, day, and time of day have the same format as the 592.Ar IN , 593.Ar ON , 594and 595.Ar AT 596fields of a rule; trailing fields can be omitted, and default to the 597earliest possible value for the missing fields. 598.IP 599The next line must be a 600.Dq "continuation" 601line; this has the same form as a zone line except that the 602string 603.Dq "Zone" 604and the name are omitted, as the continuation line will 605place information starting at the time specified as the 606.Dq "until" 607information in the previous line in the file used by the previous line. 608Continuation lines may contain 609.Dq "until" 610information, just as zone lines do, indicating that the next line is a further 611continuation. 612.El 613.Pp 614If a zone changes at the same instant that a rule would otherwise take 615effect in the earlier zone or continuation line, the rule is ignored. 616A zone or continuation line 617.Ar L 618with a named rule set starts with standard time by default: 619that is, any of 620.Ar L 's 621timestamps preceding 622.Ar L 's 623earliest rule use the rule in effect after 624.Ar L 's 625first transition into standard time. 626In a single zone it is an error if two rules take effect at the same 627instant, or if two zone changes take effect at the same instant. 628.Pp 629If a continuation line subtracts 630.Ar N 631seconds from the UT offset after a transition that would be 632interpreted to be later if using the continuation line's UT offset and 633rules, the 634.Dq "until" 635time of the previous zone or continuation line is interpreted 636according to the continuation line's UT offset and rules, and any rule 637that would otherwise take effect in the next 638.Ar N 639seconds is instead assumed to take effect simultaneously. 640For example: 641.Bd -literal -offset indent 642# Rule NAME FROM TO \*- IN ON AT SAVE LETTER/S 643Rule US 1967 2006 - Oct lastSun 2:00 0 S 644Rule US 1967 1973 - Apr lastSun 2:00 1:00 D 645 646# Zone\0\0NAME STDOFF RULES FORMAT [UNTIL] 647Zone\0\0America/Menominee \*-5:00 \*- EST 1973 Apr 29 2:00 648 \*-6:00 US C%sT 649.Ed 650Here, an incorrect reading would be there were two clock changes on 1973-04-29, 651the first from 02:00 EST (\-05) to 01:00 CST (\-06), 652and the second an hour later from 02:00 CST (\-06) to 03:00 CDT (\-05). 653However, 654.Nm 655interprets this more sensibly as a single transition from 02:00 CST (\-05) to 65602:00 CDT (\-05). 657.Pp 658A link line has the form 659.Bd -literal -offset indent 660Link TARGET LINK-NAME 661.Ed 662.Pp 663For example: 664.Bd -literal -offset indent 665Link Europe/Istanbul Asia/Istanbul 666.Ed 667.Pp 668The 669.Ar TARGET 670field should appear as the 671.Ar NAME 672field in some zone line or as the 673.Ar LINK-NAME 674field in some link line. 675The 676.Ar LINK-NAME 677field is used as an alternative name for that zone; 678it has the same syntax as a zone line's 679.Ar NAME 680field. 681Links can chain together, although the behavior is unspecified if a 682chain of one or more links does not terminate in a Zone name. 683A link line can appear before the line that defines the link target. 684For example: 685.Bd -literal -offset indent 686Link Greenwich G_M_T 687Link Etc/GMT Greenwich 688Zone Etc/GMT\0\00\0\0\-\0\0GMT 689.Ed 690.Pp 691The two links are chained together, and G_M_T, Greenwich, and Etc/GMT 692all name the same zone. 693.Pp 694Except for continuation lines, 695lines may appear in any order in the input. 696However, the behavior is unspecified if multiple zone or link lines 697define the same name. 698.Pp 699The file that describes leap seconds can have leap lines and an 700expiration line. 701Leap lines have the following form: 702.Bd -literal -offset indent 703Leap YEAR MONTH DAY HH:MM:SS CORR R/S 704.Ed 705.Pp 706For example: 707.Bd -literal -offset indent 708Leap 2016 Dec 31 23:59:60 + S 709.Ed 710.Pp 711The 712.Ar YEAR , 713.Ar MONTH , 714.Ar DAY , 715and 716.Ar HH:MM:SS 717fields tell when the leap second happened. 718The 719.Ar CORR 720field 721should be 722.Ql "+" 723if a second was added 724or 725.Ql "\-" 726if a second was skipped. 727The 728.Ar R/S 729field 730should be (an abbreviation of) 731.Dq "Stationary" 732if the leap second time given by the other fields should be interpreted as UTC 733or 734(an abbreviation of) 735.Dq "Rolling" 736if the leap second time given by the other fields should be interpreted as 737local (wall clock) time. 738.Pp 739Rolling leap seconds were implemented back when it was not 740clear whether common practice was rolling or stationary, 741with concerns that one would see 742Times Square ball drops where there'd be a 743.Dq "3... 2... 1... leap... Happy New Year" 744countdown, placing the leap second at 745midnight New York time rather than midnight UTC. 746However, this countdown style does not seem to have caught on, 747which means rolling leap seconds are not used in practice; 748also, they are not supported if the 749.Fl r 750option is used. 751.Pp 752The expiration line, if present, has the form: 753.Bd -literal -offset indent 754Expires YEAR MONTH DAY HH:MM:SS 755.Ed 756.Pp 757For example: 758.Bd -literal -offset indent 759Expires 2020 Dec 28 00:00:00 760.Ed 761.Pp 762The 763.Ar YEAR , 764.Ar MONTH , 765.Ar DAY , 766and 767.Ar HH:MM:SS 768fields give the expiration timestamp in UTC for the leap second table. 769.Sh "EXTENDED EXAMPLE" 770Here is an extended example of 771.Nm 772input, intended to illustrate many of its features. 773.Bd -literal -offset indent 774# Rule NAME FROM TO \- IN ON AT SAVE LETTER/S 775Rule Swiss 1941 1942 \- May Mon>=1 1:00 1:00 S 776Rule Swiss 1941 1942 \- Oct Mon>=1 2:00 0 \- 777 778Rule EU 1977 1980 \- Apr Sun>=1 1:00u 1:00 S 779Rule EU 1977 only \- Sep lastSun 1:00u 0 \- 780Rule EU 1978 only \- Oct 1 1:00u 0 \- 781Rule EU 1979 1995 \- Sep lastSun 1:00u 0 \- 782Rule EU 1981 max \- Mar lastSun 1:00u 1:00 S 783Rule EU 1996 max \- Oct lastSun 1:00u 0 \- 784 785# Zone NAME STDOFF RULES FORMAT [UNTIL] 786Zone Europe/Zurich 0:34:08 \- LMT 1853 Jul 16 787 0:29:45.50 \- BMT 1894 Jun 788 1:00 Swiss CE%sT 1981 789 1:00 EU CE%sT 790 791Link Europe/Zurich Europe/Vaduz 792.Ed 793.Pp 794In this example, the EU rules are for the European Union 795and for its predecessor organization, the European Communities. 796The timezone is named Europe/Zurich and it has the alias Europe/Vaduz. 797This example says that Zurich was 34 minutes and 8 798seconds east of UT until 1853-07-16 at 00:00, when the legal offset 799was changed to 8007\(de26\(fm22.50\(sd, 801which works out to 0:29:45.50; 802.Nm 803treats this by rounding it to 0:29:46. 804After 1894-06-01 at 00:00 the UT offset became one hour 805and Swiss daylight saving rules (defined with lines beginning with 806.Dq "Rule Swiss") 807apply. 808From 1981 to the present, EU daylight saving rules have 809applied, and the UTC offset has remained at one hour. 810.Pp 811In 1941 and 1942, daylight saving time applied from the first Monday 812in May at 01:00 to the first Monday in October at 02:00. 813The pre-1981 EU daylight-saving rules have no effect 814here, but are included for completeness. 815Since 1981, daylight 816saving has begun on the last Sunday in March at 01:00 UTC. 817Until 1995 it ended the last Sunday in September at 01:00 UTC, 818but this changed to the last Sunday in October starting in 1996. 819.Pp 820For purposes of display, 821.Dq "LMT" 822and 823.Dq "BMT" 824were initially used, respectively. 825Since 826Swiss rules and later EU rules were applied, the time zone abbreviation 827has been CET for standard time and CEST for daylight saving 828time. 829.Sh FILES 830.Bl -tag -width "/usr/share/zoneinfo" 831.It Pa /etc/localtime 832Default local timezone file. 833.It Pa /usr/share/zoneinfo 834Default timezone information directory. 835.El 836.Sh NOTES 837For areas with more than two types of local time, 838you may need to use local standard time in the 839.Ar AT 840field of the earliest transition time's rule to ensure that 841the earliest transition time recorded in the compiled file is correct. 842.Pp 843If, 844for a particular timezone, 845a clock advance caused by the start of daylight saving 846coincides with and is equal to 847a clock retreat caused by a change in UT offset, 848.Nm 849produces a single transition to daylight saving at the new UT offset 850without any change in local (wall clock) time. 851To get separate transitions 852use multiple zone continuation lines 853specifying transition instants using universal time. 854.Sh SEE ALSO 855.Xr tzfile 5 , 856.Xr zdump 8 857