[all-commits] [llvm/llvm-project] 0ee73d: [libc++][format] Fixes year formatter on Windows.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue May 30 09:58:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ee73debf7445a9a34dcdf0215a99a2919d00112
      https://github.com/llvm/llvm-project/commit/0ee73debf7445a9a34dcdf0215a99a2919d00112
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M libcxx/include/__chrono/formatter.h
    M libcxx/test/std/time/time.cal/time.cal.year/time.cal.year.nonmembers/ostream.pass.cpp
    M libcxx/test/std/time/time.syn/formatter.year.pass.cpp

  Log Message:
  -----------
  [libc++][format] Fixes year formatter on Windows.

Windows' libc, like some other libc implementations do not work as
specified for %Y and %y. This uses the fixes used for other libc
implementations.

The work was part of D150593.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D151612




More information about the All-commits mailing list