-
Akira Matsuda authored
When the TZ in the given string contains minus offset, both hour and minute value has to be negated, but the current code negates hour only. Hence, for instance in Newfoundland Time Zone (UTC−03:30), it used to return 1 hour advanced value. Co-authored-by:
Nobuyoshi Nakada <nobu@ruby-lang.org>
Akira Matsuda authoredWhen the TZ in the given string contains minus offset, both hour and minute value has to be negated, but the current code negates hour only. Hence, for instance in Newfoundland Time Zone (UTC−03:30), it used to return 1 hour advanced value. Co-authored-by:
Nobuyoshi Nakada <nobu@ruby-lang.org>
Loading