diff options
| author | ilotterytea <iltsu@alright.party> | 2024-05-01 00:14:07 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-05-01 00:14:07 +0500 |
| commit | f9859164676f8fc3fa174d6c351308e6acc2b369 (patch) | |
| tree | c1337a85ac452b85d6c10e918ddc5b6dce8bba11 /src/utils/chrono.hpp | |
| parent | d45c3e8b9ba05f8df527a5d43a50a84fcbb73600 (diff) | |
feat: method for humanizing timestamps
Diffstat (limited to 'src/utils/chrono.hpp')
| -rw-r--r-- | src/utils/chrono.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 <string> + +namespace bot::utils::chrono { + std::string format_timestamp(int seconds); +} |
