From a35a344697c4ccdda0a87960d058f8ede2bb2cd2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 7 Jun 2021 16:04:41 +0200 Subject: Add uploaded time to mangadex chapter description --- src/plugins/Soundcloud.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/plugins/Soundcloud.cpp') 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 parse_collection_item(const Json::Value &item_json) { std::string title; -- cgit v1.2.3