aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-25 20:33:16 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-25 20:33:16 +0100
commitf5d154c2d6ca848a526562bd6a678c311ee34e6b (patch)
tree86d5e5ee765a4ae118e84b812a8fe54cfbecae68 /include
parent3f0473c5aa472ac99d20a46bd7217ee9b6429f62 (diff)
Thousands comma for youtube likes/dislikes and peertube views
Diffstat (limited to 'include')
-rw-r--r--include/StringUtils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index f03ac62..d2457e8 100644
--- a/include/StringUtils.hpp
+++ b/include/StringUtils.hpp
@@ -28,4 +28,5 @@ namespace QuickMedia {
bool to_num_hex(const char *str, size_t size, int &num);
std::string seconds_to_relative_time_str(time_t seconds);
std::string seconds_to_duration(int seconds);
+ std::string number_separate_thousand_commas(const std::string &number);
} \ No newline at end of file