diff --git a/tz.h b/tz.h index c6cc742..17c15ec 100644 --- a/tz.h +++ b/tz.h @@ -1408,7 +1408,7 @@ format(const std::locale& loc, std::basic_string format, else { auto info = zone->get_info(tp).first; - format.replace(i, 2, std::basic_string + format.replace(i - 1, 2, std::basic_string (info.abbrev.begin(), info.abbrev.end())); i += info.abbrev.size() - 1; }