Skip to content

Commit

Permalink
Patched lower bound for birthdate random choice
Browse files Browse the repository at this point in the history
  • Loading branch information
Globostofo committed Oct 1, 2023
1 parent d8a978d commit bb0f7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/date/Date.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ std::string Date::birthdateByYear(int minYear, int maxYear)
tm startDateTime{};
startDateTime.tm_year = minYear - 1900;
startDateTime.tm_mon = 0;
startDateTime.tm_mday = 0;
startDateTime.tm_mday = 1;
startDateTime.tm_hour = 0;
startDateTime.tm_min = 0;
startDateTime.tm_sec = 0;
Expand Down

0 comments on commit bb0f7ed

Please sign in to comment.