[all-commits] [llvm/llvm-project] e7e2c1: [libc++][TZDB] Fixes mapping of nonexisting time. ...

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu Feb 20 12:57:30 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e7e2c16cac97696a89a053f72b94112739b6897f
      https://github.com/llvm/llvm-project/commit/e7e2c16cac97696a89a053f72b94112739b6897f
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M libcxx/include/__chrono/time_zone.h
    M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/to_sys_choose.pass.cpp

  Log Message:
  -----------
  [libc++][TZDB] Fixes mapping of nonexisting time. (#127330)

All non-existing local times in a contiguous range should map to the
same time point. This fixes a bug, were the times inside the range were
mapped to the wrong time.

Fixes: #113654
(cherry picked from commit 941f7cbf5a3e7aa9f36b002dc22cfdb4ff50fea8)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list