diff --git a/include/date/date.h b/include/date/date.h index 3be91af..6f1e2f4 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -6775,7 +6775,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, else read(is, rs{H, 1, 2}, CharT{':'}, ru{M, 2, 2}); if (!is.fail()) - temp_offset = hours{H} + minutes{M}; + temp_offset = hours{ H } + minutes{ H < 0 ? -M : M }; command = nullptr; width = -1; modified = CharT{};