mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-02 20:24:27 +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_;
|
in >> abbrev_;
|
||||||
if (abbrev_ == "-")
|
if (abbrev_ == "-")
|
||||||
abbrev_.clear();
|
abbrev_.clear();
|
||||||
assert(hours{0} <= save_ && save_ <= hours{2});
|
assert(hours{-1} <= save_ && save_ <= hours{2});
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user