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