Fix formatting of timezone names

This commit is contained in:
Victor Zverovich
2025-04-13 08:52:26 -07:00
parent f086dc0d27
commit bd9554a29e
2 changed files with 21 additions and 4 deletions

View File

@@ -1390,7 +1390,7 @@ class tm_writer {
}
void on_utc_offset(numeric_system ns) { format_utc_offset_impl(tm_, ns); }
void on_tz_name() { out_ = std::copy_n("UTC", 3, out_); }
void on_tz_name() { format_tz_name_impl(tm_); }
void on_year(numeric_system ns, pad_type pad) {
if (is_classic_ || ns == numeric_system::standard)