aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-07 16:04:41 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-07 16:04:41 +0200
commita35a344697c4ccdda0a87960d058f8ede2bb2cd2 (patch)
tree682e251c57ba9079db54ee528dfa98e49f362782 /include
parentb207d812582368fea47bf87becc645fbcaf07b61 (diff)
Add uploaded time to mangadex chapter description
Diffstat (limited to 'include')
-rw-r--r--include/Utils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Utils.hpp b/include/Utils.hpp
index 206ee38..cdef844 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <time.h>
+#include <string>
namespace QuickMedia {
float get_ui_scale();
@@ -9,4 +10,5 @@ namespace QuickMedia {
bool is_touch_enabled();
bool is_running_wayland();
time_t iso_utc_to_unix_time(const char *time_str);
+ std::string unix_time_to_local_time_str(time_t unix_time);
} \ No newline at end of file