From 2b6ee6378c62b2f10b1515ea39bcb49579b56034 Mon Sep 17 00:00:00 2001 From: Scott Beil Date: Thu, 4 Jan 2018 20:50:36 -0600 Subject: [PATCH] minutes fix --- include/date/date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{};