Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4624 closed defect (bug) (fixed)

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

Reported by: josephscott's profile josephscott Owned by:
Milestone: 2.2.3 Priority: normal
Severity: normal Version: 2.2.2
Component: Administration Keywords: has-patch
Focuses: Cc:


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 (3)

xmlrpc.php.diff (1.9 KB) - added by josephscott 17 years ago.
xmlrpc.php-2.2.diff (1.9 KB) - added by josephscott 17 years ago.
gmt-xmlrpc.php.diff (4.6 KB) - added by josephscott 17 years ago.

Download all attachments as: .zip

Change History (7)

#1 @foolswisdom
17 years ago

  • Milestone changed from 2.2.2 to 2.2.3
  • Version set to 2.2.2

#2 @Nazgul
17 years ago

  • Keywords has-patch added

#3 @josephscott
17 years ago

  • Cc josephscott added

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).

#4 @markjaquith
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.