mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-04 13:14:26 +02:00
Correct type-o in error message
This commit is contained in:
2
tz.h
2
tz.h
@@ -1408,7 +1408,7 @@ format(const std::locale& loc, std::basic_string<CharT, Traits> fmt,
|
|||||||
if (command && !modified)
|
if (command && !modified)
|
||||||
{
|
{
|
||||||
if (info == nullptr)
|
if (info == nullptr)
|
||||||
throw std::runtime_error("Can not format local_time with %z");
|
throw std::runtime_error("Can not format local_time with %Z");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fmt.replace(i - 1, 2, std::basic_string<CharT, Traits>
|
fmt.replace(i - 1, 2, std::basic_string<CharT, Traits>
|
||||||
|
Reference in New Issue
Block a user