Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#4158 closed enhancement (fixed)

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

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

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

Download all attachments as: .zip

Change History (10)

#1 @josephscott
20 years ago

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

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

Previous attachment didn't upload correctly.

#3 @ryan
20 years ago

  • Resolution → fixed
  • Status new → closed

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

#4 @ryan
20 years ago

  • Resolution fixed
  • Status closed → reopened

Re-open for 2.2 consideration.

#5 @ryan
20 years ago

  • Resolution → fixed
  • Status reopened → closed

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

#6 @markjaquith
19 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.