The function xmlrpc_date($time) in xmlrpc.inc drops the second and only stores the 10s as seconds.

Error is in $xmlrpc_date->second = substr($time, 14, 2);

Should be in $xmlrpc_date->second = substr($time, 13, 2);

minutes are on position 11 and 12 so seconds are on position 13 and 14

Patch included.

CommentFileSizeAuthor
xmlrpc.patch508 bytesclemens.tolboom

Comments

gerhard killesreiter’s picture

Version: 5.7 » 5.x-dev
Status: Active » Reviewed & tested by the community

This bug is already fixed in D6 and D7.

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.