Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/date/date.h
Original file line number Diff line number Diff line change
Expand Up @@ -6789,8 +6789,8 @@ from_stream(std::basic_istream<CharT, Traits>& is, const CharT* fmt,
ws(is);
using dfs = detail::decimal_format_seconds<Duration>;
CONSTDATA auto w = Duration::period::den == 1 ? 2 : 3 + dfs::width;
int tH;
int tM;
int tH = not_a_hour;
int tM = not_a_minute;
long double S{};
read(is, ru{tH, 1, 2}, CharT{':'}, ru{tM, 1, 2},
CharT{':'}, rld{S, 1, w});
Expand Down Expand Up @@ -7519,7 +7519,7 @@ from_stream(std::basic_istream<CharT, Traits>& is, const CharT* fmt,
case 'z':
if (command)
{
int tH, tM;
int tH = not_a_hour, tM = not_a_minute;
minutes toff = not_a_offset;
bool neg = false;
auto ic = is.peek();
Expand Down