summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorSyahril Zulkefli <syahzul@gmail.com>2011-11-13 16:46:58 +0100
committerSyahril Zulkefli <syahzul@gmail.com>2011-11-13 16:46:58 +0100
commitb1cbd712c84649a00fee5293cfcb3cc8a05db2ec (patch)
tree74d9c959c09a386d154c2c031a8098d5decf84a5 /system/libraries
parent90658ad344a428fb031bd34c57458fc15618060d (diff)
Fix invalid datetime format
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Xmlrpc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index 2f66ef09a..7b1e3fa6e 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -1416,14 +1416,14 @@ class XML_RPC_Values extends CI_Xmlrpc
{
if ($utc == 1)
{
- $t = strftime("%Y%m%dT%H:%M:%S", $time);
+ $t = strftime("%Y%m%dT%H:%i:%s", $time);
}
else
{
if (function_exists('gmstrftime'))
- $t = gmstrftime("%Y%m%dT%H:%M:%S", $time);
+ $t = gmstrftime("%Y%m%dT%H:%i:%s", $time);
else
- $t = strftime("%Y%m%dT%H:%M:%S", $time - date('Z'));
+ $t = strftime("%Y%m%dT%H:%i:%s", $time - date('Z'));
}
return $t;
}