aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Soundcloud.cpp
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 /src/plugins/Soundcloud.cpp
parentb207d812582368fea47bf87becc645fbcaf07b61 (diff)
Add uploaded time to mangadex chapter description
Diffstat (limited to 'src/plugins/Soundcloud.cpp')
-rw-r--r--src/plugins/Soundcloud.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/Soundcloud.cpp b/src/plugins/Soundcloud.cpp
index e66f1f4..01d12a8 100644
--- a/src/plugins/Soundcloud.cpp
+++ b/src/plugins/Soundcloud.cpp
@@ -65,14 +65,6 @@ namespace QuickMedia {
return "";
}
- static std::string unix_time_to_local_time_str(time_t unix_time) {
- struct tm time_tm;
- localtime_r(&unix_time, &time_tm);
- char time_str[128] = {0};
- strftime(time_str, sizeof(time_str) - 1, "%Y %b %d, %a %H:%M", &time_tm);
- return time_str;
- }
-
static std::shared_ptr<BodyItem> parse_collection_item(const Json::Value &item_json) {
std::string title;