summaryrefslogtreecommitdiff
path: root/src/utils/time.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/time.hpp')
-rw-r--r--src/utils/time.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/time.hpp b/src/utils/time.hpp
index c71cd9c..4b19634 100644
--- a/src/utils/time.hpp
+++ b/src/utils/time.hpp
@@ -2,9 +2,10 @@
#include <ctime>
#include <string>
+#include <chrono>
namespace utils
{
-std::string to_string(const std::time_t& timestamp);
+std::string to_string(const std::chrono::system_clock::time_point::rep& timestamp);
std::time_t parse_datetime(const std::string& stamp);
-} \ No newline at end of file
+}