summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/std_string_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp
index ff53b18585..cde856307c 100644
--- a/utils/std_string_utils.cpp
+++ b/utils/std_string_utils.cpp
@@ -44,7 +44,7 @@ std::string utils::url::decode(std::string data)
std::string utils::time::unix_timestamp()
{
- time_t in = ::time(nullptr);
+ time_t in = ::time(0);
return utils::conversion::to_string((void*)&in, UTILS_CONV_TIME_T);
}