[all-commits] [llvm/llvm-project] 042a6a: [libc++][chrono] Fixes (sys|local)_time formatters...

Mark de Wever via All-commits all-commits at lists.llvm.org
Mon Jan 22 10:06:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 042a6a1349d512edaaa225380771c64a8d92810a
      https://github.com/llvm/llvm-project/commit/042a6a1349d512edaaa225380771c64a8d92810a
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M libcxx/include/__chrono/ostream.h
    M libcxx/include/chrono
    M libcxx/test/std/time/time.clock/time.clock.local/ostream.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.local/ostream.verify.cpp
    R libcxx/test/std/time/time.clock/time.clock.system/ostream.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.system/sys_date.ostream.pass.cpp
    A libcxx/test/std/time/time.clock/time.clock.system/sys_time.ostream.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Fixes (sys|local)_time formatters. (#76456)

- The sys_time formatter is constrained, which was not implemented.
- There is a sys_days formatter which was not implemented.
- The local_time formatter uses the sys_time formatter in its
implementation so "inherited" the same issues.

Fixes: https://github.com/llvm/llvm-project/issues/73849
Fixes: https://github.com/llvm/llvm-project/issues/67983




More information about the All-commits mailing list