From f9859164676f8fc3fa174d6c351308e6acc2b369 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 1 May 2024 00:14:07 +0500 Subject: feat: method for humanizing timestamps --- src/utils/chrono.hpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/utils/chrono.hpp (limited to 'src/utils/chrono.hpp') diff --git a/src/utils/chrono.hpp b/src/utils/chrono.hpp new file mode 100644 index 0000000..5d0b3ed --- /dev/null +++ b/src/utils/chrono.hpp @@ -0,0 +1,7 @@ +#pragma once + +#include + +namespace bot::utils::chrono { + std::string format_timestamp(int seconds); +} -- cgit v1.2.3