https://github.com/ldionne edited
https://github.com/llvm/llvm-project/pull/85797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/ldionne edited
https://github.com/llvm/llvm-project/pull/85797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -170,10 +171,45 @@ _LIBCPP_HIDE_FROM_ABI void
__format_century(basic_stringstream<_CharT>& __sstr,
__sstr << std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:02}"), __century);
}
+// Implements the %z format specifier according to [tab:time.format.spec],
where
+//
@@ -170,10 +171,45 @@ _LIBCPP_HIDE_FROM_ABI void
__format_century(basic_stringstream<_CharT>& __sstr,
__sstr << std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:02}"), __century);
}
+// Implements the %z format specifier according to [tab:time.format.spec],
where
+//
https://github.com/ldionne approved this pull request.
LGTM with minor comments. Thanks!
https://github.com/llvm/llvm-project/pull/85797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
@@ -170,10 +171,45 @@ _LIBCPP_HIDE_FROM_ABI void
__format_century(basic_stringstream<_CharT>& __sstr,
__sstr << std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:02}"), __century);
}
+// Implements the %z format specifier according to [tab:time.format.spec],
where
+//
https://github.com/mordante updated
https://github.com/llvm/llvm-project/pull/85797
>From cb87ecc505cf538eaa657a7cc3b1b282e3e7298d Mon Sep 17 00:00:00 2001
From: Mark de Wever
Date: Sun, 10 Mar 2024 17:49:39 +0100
Subject: [PATCH] [libc++][TZDB] Improves time zone format specifiers.
Per
llvmbot wrote:
@llvm/pr-subscribers-libcxx
Author: Mark de Wever (mordante)
Changes
Per [tab:time.format.spec]
%z The offset from UTC as specified in ISO 8601-1:2019, subclause
5.3.4.1. For example -0430 refers to 4 hours 30 minutes behind UTC.
If the offset is zero, + is
https://github.com/mordante created
https://github.com/llvm/llvm-project/pull/85797
Per [tab:time.format.spec]
%z The offset from UTC as specified in ISO 8601-1:2019, subclause
5.3.4.1. For example -0430 refers to 4 hours 30 minutes behind UTC.
If the offset is zero, + is used. The