mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-01 03:34:26 +02:00
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:
@@ -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 (...)
|
||||
{
|
||||
|
Reference in New Issue
Block a user