From 1eeb4cd6522da8c05ccadf3868a076ba1856e61e Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 8 Dec 2017 13:08:40 -0500 Subject: [PATCH] Prepare for the new definition of IST * Irish Standard Time has a -1h save in the winter instead of a +1h save in the summer. --- src/tz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tz.cpp b/src/tz.cpp index 3dda0e4..60a8e81 100644 --- a/src/tz.cpp +++ b/src/tz.cpp @@ -1112,7 +1112,7 @@ detail::Rule::Rule(const std::string& s) in >> abbrev_; if (abbrev_ == "-") abbrev_.clear(); - assert(hours{0} <= save_ && save_ <= hours{2}); + assert(hours{-1} <= save_ && save_ <= hours{2}); } catch (...) {