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.
This commit is contained in:
Howard Hinnant 2017-12-08 13:08:40 -05:00
parent b49bdc3ca7
commit 1eeb4cd652

View File

@ -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 (...)
{