From 7d811743e0c8eb4904a2ddaabee7bff7aad3c46b Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sat, 18 Apr 2020 09:24:22 -0400 Subject: [PATCH] Fix parse of second offset in posix time zone --- include/date/ptz.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/date/ptz.h b/include/date/ptz.h index 6ff1ab9..5cd7545 100644 --- a/include/date/ptz.h +++ b/include/date/ptz.h @@ -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] != ',')