Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4158 closed enhancement (fixed)

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

Reported by: josephscott's profile josephscott Owned by:
Milestone: 2.2 Priority: normal
Severity: normal Version:
Component: XML-RPC Keywords:
Focuses: Cc:

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 18 years ago.
xmlrpc.2.php-diff (2.0 KB) - added by josephscott 18 years ago.
GMT with out the Z
xmlrpc.3.php-diff (1.9 KB) - added by josephscott 18 years ago.
Update GMT fixes
xmlrpc.4.php-diff (2.8 KB) - added by josephscott 18 years ago.
Previous attachment didn't upload correctly.

Download all attachments as: .zip

Change History (10)

#1 @josephscott
18 years ago

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

@josephscott
18 years ago

GMT with out the Z

#2 @josephscott
18 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
18 years ago

Update GMT fixes

@josephscott
18 years ago

Previous attachment didn't upload correctly.

#3 @ryan
18 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
18 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Re-open for 2.2 consideration.

#5 @ryan
18 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
18 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.