Skip to content

Commit

Permalink
removed out of scope changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonykcao committed Oct 4, 2024
1 parent 44eedd1 commit bd1b3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/date.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::string betweenDate(const auto& from, const auto& to, DateFormat dateFormat)
{
const auto size = std::chrono::duration_cast<std::chrono::seconds>(to - from).count();

const auto randomDateWithinRange = from + std::chrono::seconds{number::integer(size - 1)};
const auto randomDateWithinRange = from + std::chrono::seconds{number::integer(size - 1)};

return serializeTimePoint(randomDateWithinRange, dateFormat);
}
Expand Down

0 comments on commit bd1b3bb

Please sign in to comment.