Ticket #4624 (closed defect: fixed)

Opened 1 year ago

Last modified 11 months ago

Don't return GMT date/time in XML-RPC, breaks some clients.

Reported by: josephscott Assigned to: anonymous
Priority: normal Milestone: 2.2.3
Component: Administration Version: 2.2.2
Severity: normal Keywords: has-patch
Cc: josephscott

Description

There are some XML-RPC clients that simply died when processing valid GMT date/times with a Z on the end. So in the interest of minimizing the number of broken clients those changes need to be undone, [5305] and [5514].

I have patches for the 2.2 branch as well trunk.

Attachments

xmlrpc.php.diff (1.9 kB) - added by josephscott on 07/12/07 16:52:53.
xmlrpc.php-2.2.diff (1.9 kB) - added by josephscott on 07/12/07 16:53:09.
gmt-xmlrpc.php.diff (4.6 kB) - added by josephscott on 08/16/07 19:56:13.

Change History

07/12/07 16:52:53 changed by josephscott

  • attachment xmlrpc.php.diff added.

07/12/07 16:53:09 changed by josephscott

  • attachment xmlrpc.php-2.2.diff added.

08/09/07 19:14:54 changed by foolswisdom

  • version set to 2.2.2.
  • milestone changed from 2.2.2 to 2.2.3.

08/14/07 17:13:44 changed by Nazgul

  • keywords set to has-patch.

08/16/07 19:56:13 changed by josephscott

  • attachment gmt-xmlrpc.php.diff added.

08/16/07 19:57:49 changed by josephscott

  • cc set to josephscott.

I've uploaded a new patch against trunk (gmt-xmlrpc.php.diff) that reverts the dateCreated field back to blog time (instead of GMT) and adds a new field, date_created_gmt, that is always GMT (even though it has no time zone info).

08/17/07 03:18:58 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(In [5888]) Send dateCreated as local blog time, add date_created_gmt with GMT value. Props josephscott. fixes #4624. refs #4158, #4314