Fix parse of second offset in posix time zone

This commit is contained in:
Howard Hinnant 2020-04-18 09:24:22 -04:00
parent a2fdba1adc
commit 7d811743e0

View File

@ -195,7 +195,10 @@ time_zone::time_zone(const detail::string_t& s)
if (i != s.size())
{
if (s[i] != ',')
{
i = read_signed_time(s, i, save_);
save_ = -save_ - offset_;
}
if (i != s.size())
{
if (s[i] != ',')