From 6952fb50a6a04c1b3682c56e1f1e26578f3bec1e Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 8 Jul 2020 14:20:31 -0400 Subject: [PATCH] Correct the value for not_a_year --- 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 7cb25c1..14ab796 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -6324,7 +6324,7 @@ from_stream(std::basic_istream& is, const CharT* fmt, auto modified = CharT{}; auto width = -1; - CONSTDATA int not_a_year = numeric_limits::min(); + CONSTDATA int not_a_year = numeric_limits::min(); CONSTDATA int not_a_2digit_year = 100; CONSTDATA int not_a_century = not_a_year / 100; CONSTDATA int not_a_month = 0;