mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 08:31:03 +08: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:
parent
b49bdc3ca7
commit
1eeb4cd652
@ -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 (...)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user