[libcxx-commits] [PATCH] D151612: [libc++][format] Fixes year formatter on Windows.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 28 03:21:04 PDT 2023


Mordante created this revision.
Herald added subscribers: mstorsjo, arichardson.
Herald added a project: All.
Mordante updated this revision to Diff 526272.
Mordante added a comment.
Mordante published this revision for review.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Enable the full CI again.


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 <https://reviews.llvm.org/D150593>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151612

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151612.526272.patch
Type: text/x-patch
Size: 8752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230528/fb9acb5a/attachment-0001.bin>


More information about the libcxx-commits mailing list