Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
panchaBhuta committed Sep 19, 2024
1 parent 7d81597 commit cd84d73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/converter/_convertDate.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ namespace converter
} else {
std::istringstream issY(token);
S2T_FORMAT_YMD::streamUpdate(issY);
date::year year(0);
date::from_stream(issY, fmtToken.c_str(), year);
_dateLib::year year(0);
_dateLib::from_stream(issY, fmtToken.c_str(), year);
iY = int(year);
}
hasYear = true;
Expand All @@ -259,8 +259,8 @@ namespace converter
} else {
std::istringstream issM(token);
S2T_FORMAT_YMD::streamUpdate(issM);
date::month month(0);
date::from_stream(issM, fmtToken.c_str(), month);
_dateLib::month month(0);
_dateLib::from_stream(issM, fmtToken.c_str(), month);
iM = unsigned(month);
}
hasMonth = true;
Expand All @@ -274,8 +274,8 @@ namespace converter
} else {
std::istringstream issD(token);
S2T_FORMAT_YMD::streamUpdate(issD);
date::day day(0);
date::from_stream(issD, fmtToken.c_str(), day);
_dateLib::day day(0);
_dateLib::from_stream(issD, fmtToken.c_str(), day);
iD = unsigned(day);
}
hasDay = true;
Expand Down

0 comments on commit cd84d73

Please sign in to comment.