From acf922d4bab21eca226ded19ace7d51d56f9203f Mon Sep 17 00:00:00 2001
From: Howard Hinnant
Everything here is contained in the namespace
Howard E. Hinnant
-2017-05-07
+2017-06-12
@@ -1611,7 +1611,7 @@ operator<<(std::basic_ostream<CharT, Traits>& os, const local_ti
date
date
. The literal operators,
and the constexpr field literals (e.g. sun
, jan
, etc.) are
-in namespace date_literals
and imported into namespace date
.
+in namespace date::literals
and imported into namespace date
.
@@ -1947,9 +1947,9 @@ string days
fmt
as specified by the
-Throws: A std::runtime_error
if %Z
is in the formatting
-string and abbrev == nullptr
, or if %z
is in the formatting string
-and offset_sec == nullptr
.
+If %Z
is in the formatting string and abbrev == nullptr
, or if
+%z
is in the formatting string and offset_sec == nullptr
,
+failbit
will be set for os
.
to_stream
formatting flags.
-Throws: A std::runtime_error
if %z
or %Z
is
-used in the fmt
string.
+If %z
or %Z
is used in the fmt
string
+failbit
will be set for os
.
0
to four digits.
-0430
refers to
4 hours 30 minutes behind UTC. If the offset is zero, +0000
is used.
The modified commands %Ez
and %Ez
insert a :
-between the hours and minutes: -04:30
. A std::runtime_error
is
-thrown if the offset information is not available.-04:30
. If the offset information is not
+available, failbit
will be set.
%Z
std::runtime_error
is thrown if the time
-zone abbreviation is not available. UTC
is used for
+failbit
will be set. UTC
is used for
sys_time
.