diff options
author | Andrey Andreev <narf@devilix.net> | 2021-12-20 15:54:24 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2021-12-20 15:54:24 +0100 |
commit | 50df2e78ec0e2b9e66f5aab8aa5f6f4de0cc0d3b (patch) | |
tree | fae1dd4644d7df8311fa757290b4aaa5849d6b77 /system | |
parent | 4612cb74d037b705f3d987431354e87bb2551749 (diff) |
Remove usage of deprecated strftime(), gmstrftime()
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Xmlrpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php index 32b236b43..d500bcf87 100644 --- a/system/libraries/Xmlrpc.php +++ b/system/libraries/Xmlrpc.php @@ -1914,7 +1914,7 @@ class XML_RPC_Values extends CI_Xmlrpc */ public function iso8601_encode($time, $utc = FALSE) { - return ($utc) ? strftime('%Y%m%dT%H:%i:%s', $time) : gmstrftime('%Y%m%dT%H:%i:%s', $time); + return ($utc) ? date('Ymd\TH:i:s', $time) : gmdate('Ymd\TH:i:s', $time); } } // END XML_RPC_Values Class |