tzdb 2022f: การเปลี่ยนเขตเวลา 6 รายการ

อ่านการเปลี่ยนเขตเวลา 6 รายการใน IANA tzdb 2022f ซึ่งออกเมื่อ 28 ตุลาคม 2022 พร้อมลิงก์ไปยังประเทศและเขตเวลาที่เกี่ยวข้อง

วันที่เผยแพร่: · สร้างโดยอัตโนมัติจากข้อมูลต้นทาง

เผยแพร่บน Time Dozen:

แหล่งที่มา: IANA

ส่วนสรุปและการเปลี่ยนแปลงเวลาแปลจากบันทึกการเผยแพร่ของ IANA ส่วนที่พับไว้ด้านล่างคงข้อความต้นฉบับภาษาอังกฤษ

โดยสรุป

  • เม็กซิโกจะไม่ใช้ DST อีกต่อไป ยกเว้นบริเวณใกล้ชายแดนสหรัฐฯ
  • ชีวาวาเปลี่ยนไปใช้ -06 ตลอดปีในวันที่ 2022-10-30
  • ฟิจิไม่ใช้ DST อีกต่อไป
  • ย้าย Link ไปไว้ใน 'backward'
  • ในรูปแบบ vanguard ตอนนี้ GMT เป็น Zone และ Etc/GMT เป็น Link
  • ตอนนี้ zic รองรับ Link ไปยัง Link และรูปแบบ vanguard ใช้ความสามารถนี้
  • ทำให้โซนของออนแทรีโอสี่โซนง่ายขึ้น
  • แก้ข้อบกพร่อง Y2438 เมื่ออ่านข้อมูล TZif
  • เปิดใช้ time_t 64 บิตบนแพลตฟอร์ม glibc 32 บิต
  • ละเว้นการรองรับไฟล์ขนาดใหญ่เมื่อไม่จำเป็นอีกต่อไป
  • ในโค้ด C ใช้ฟีเจอร์ของ C23 บางส่วนหากมี
  • ลบวิธีแก้ขัดสำหรับข้อบกพร่อง Qt bug 53071 ที่ไม่จำเป็นอีกต่อไป

การเปลี่ยนแปลงเวลาในอนาคต

  • เม็กซิโกจะไม่ใช้ DST อีกต่อไปหลังปี 2022 ยกเว้นบริเวณใกล้ชายแดนสหรัฐฯ ที่ยังคงใช้กฎ DST ของสหรัฐฯ ในวันที่ 2022-10-30 เวลา 02:00 รัฐชีวาวาของเม็กซิโกเปลี่ยนจาก -07 (-06 เมื่อใช้ DST) เป็น -06 ตลอดปี จึงไม่เปลี่ยนนาฬิกาในวันนั้น กฎหมายใหม่ระบุว่าชีวาวาบริเวณใกล้ชายแดนสหรัฐฯ ไม่ใช้ DST ของสหรัฐฯ อีกต่อไป (ขอบคุณ gera ที่แจ้งเตือนเรื่องชีวาวา)
  • ฟิจิจะไม่ใช้ DST ในปี 2022/3 (ขอบคุณ Shalvin Narayan) ตอนนี้ให้สมมุติว่าระงับ DST ไปไม่มีกำหนด

การเปลี่ยนแปลงข้อมูล

  • ย้าย Link ไปไว้ใน 'backward' เพื่อให้ดูแล Link ได้ง่ายและเรียบง่ายขึ้น ซึ่งกระทบข้อมูลที่สร้างขึ้นเฉพาะเมื่อใช้ 'make BACKWARD='
  • ตอนนี้ GMT เป็น Zone และ Etc/GMT เป็น Link แทนที่จะกลับกัน เพราะ GMT จำเป็นสำหรับการรองรับอธิกวินาที ส่วน Etc/GMT ไม่จำเป็น อย่างไรก็ตาม การเปลี่ยนแปลงนี้เผยให้เห็นข้อบกพร่องใน TZUpdater 2.3.2 จึงมีเฉพาะในรูปแบบ vanguard ไปก่อน
  • ตอนนี้รูปแบบ vanguard ใช้ Link ไปยัง Link เนื่องจาก zic รองรับแล้ว

การเปลี่ยนแปลงเวลาในอดีต

  • ทำให้โซนของออนแทรีโอสี่โซนง่ายขึ้น เพราะความแตกต่างส่วนใหญ่หลังปี 1970 ดูเหมือนจะเป็นเรื่องที่คิดขึ้นเอง (ขอบคุณ Chris Walton ที่รายงานปัญหา) ย้าย America/Nipigon, America/Rainy_River และ America/Thunder_Bay ไปไว้ใน 'backzone' ส่วน Link เพื่อความเข้ากันได้ย้อนหลังยังใช้งานได้ แม้ค่าเวลาก่อนเดือนพฤศจิกายน 2005 จะต่างออกไปบางส่วน
บันทึกอื่นของรุ่นนี้ (โค้ด ขั้นตอนบิลด์ เอกสาร) ข้อความต้นฉบับภาษาอังกฤษ

Changes to code

  • zic now supports links to links regardless of input line order. For example, if Australia/Sydney is a Zone, the lines Link Australia/Canberra Australia/ACT Link Australia/Sydney Australia/Canberra now work correctly, even though the shell commands ln Australia/Canberra Australia/ACT ln Australia/Sydney Australia/Canberra would fail because the first command attempts to use a link Australia/Canberra that does not exist until after the second command is executed. Previously, zic had unspecified behavior if a Link line's target was another link, and zic often misbehaved if a Link line's target was a later Link line.
  • Fix line number in zic's diagnostic for a link to a link.
  • Fix a bug that caused localtime to mishandle timestamps starting in the year 2438 when reading data generated by 'zic -b fat' when distant-future DST transitions occur at times given in standard time or in UT, not the usual case of local time. This occurs when the corresponding .zi Rule lines specify DST transitions with TO columns of 'max' and AT columns that end in 's' or 'u'. The number 2438 comes from the 32-bit limit in the year 2038, plus the 400-year Gregorian cycle. (Problem reported by Bradley White.)
  • On glibc 2.34 and later, which optionally supports 64-bit time_t on platforms like x86 where time_t was traditionally 32 bits, default time_t to 64 instead of 32 bits. This lets functions like localtime support timestamps after the year 2038, and fixes year-2038 problems in zic when accessing files dated after 2038. To continue to limit time_t to 32 bits on these platforms, use "make CFLAGS='-D_TIME_BITS=32'".
  • In C code, do not enable large-file support on platforms like AIX and macOS that no longer need it now that tzcode does not use off_t or related functions like 'stat'. Large-file support is still enabled by default on GNU/Linux, as it is needed for 64-bit time_t support.
  • In C code, prefer C23 keywords to pre-C23 macros for alignof, bool, false, and true. Also, use the following C23 features if available: __has_include, unreachable.
  • zic no longer works around Qt bug 53071, as the relevant Qt releases have been out of support since 2019. This change affects only fat TZif files, as thin files never had the workaround.
  • zdump no longer modifies the environ vector when compiled on platforms lacking tm_zone or when compiled with -DUSE_LTZ=0. This avoid undefined behavior on POSIX platforms.