WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#4158 closed enhancement (fixed)

Change metaWeblog.* and wp.* dateCreated fields in XML-RPC to GMT

Reported by: josephscott Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords:
Focuses: Cc:
PR Number:

Description

Use post_date_gmt instead of post_date in the following XML-RPC methods:

  • wp.getPage
  • wp.getPageList
  • metaWeblog.getPost
  • metaWeblog.getRecentPosts
  • metaWeblog.getRecentPostTitles

Attachments (4)

xmlrpc.php-diff (2.0 KB) - added by josephscott 13 years ago.
xmlrpc.2.php-diff (2.0 KB) - added by josephscott 13 years ago.
GMT with out the Z
xmlrpc.3.php-diff (1.9 KB) - added by josephscott 13 years ago.
Update GMT fixes
xmlrpc.4.php-diff (2.8 KB) - added by josephscott 13 years ago.
Previous attachment didn't upload correctly.

Download all attachments as: .zip

Change History (10)

#1 @josephscott
13 years ago

After more feedback this may not be a a good solution, for now I want to hold off on this.

@josephscott
13 years ago

GMT with out the Z

#2 @josephscott
13 years ago

Sounds like the generally accepted format amount XML-RPC clients is to expect date/time in GMT, but to not use the Z that would indicate such. So the second diff is the same as the first but without the Z.

@josephscott
13 years ago

Update GMT fixes

@josephscott
13 years ago

Previous attachment didn't upload correctly.

#3 @ryan
13 years ago

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

(In [5292]) Use GMT in XML-RPC dateCreated fields. Props Joseph Scott. fixes #4158 for 2.3

#4 @ryan
13 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-open for 2.2 consideration.

#5 @ryan
13 years ago

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

(In [5305]) Use GMT in XML-RPC dateCreated fields. Props Joseph Scott. fixes #4158 for 2.2

#6 @markjaquith
12 years ago

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