From bd1b3bb248a0c2eecfe47fabf3bc97b5195eec0b Mon Sep 17 00:00:00 2001 From: Tony Cao Date: Fri, 4 Oct 2024 18:33:53 -0400 Subject: [PATCH] removed out of scope changes --- src/modules/date.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/date.cpp b/src/modules/date.cpp index 76bd08d7..56945489 100644 --- a/src/modules/date.cpp +++ b/src/modules/date.cpp @@ -38,7 +38,7 @@ std::string betweenDate(const auto& from, const auto& to, DateFormat dateFormat) { const auto size = std::chrono::duration_cast(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); }