Ticket #4158 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

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

Reported by: josephscott Assigned to: anonymous
Priority: normal Milestone: 2.2
Component: XML-RPC Version:
Severity: normal Keywords:
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

xmlrpc.php-diff (2.0 kB) - added by josephscott on 04/17/07 23:54:54.
xmlrpc.2.php-diff (2.0 kB) - added by josephscott on 04/18/07 16:59:19.
GMT with out the Z
xmlrpc.3.php-diff (1.9 kB) - added by josephscott on 04/20/07 23:50:47.
Update GMT fixes
xmlrpc.4.php-diff (2.8 kB) - added by josephscott on 04/22/07 03:01:56.
Previous attachment didn't upload correctly.

Change History

04/17/07 23:54:54 changed by josephscott

  • attachment xmlrpc.php-diff added.

04/18/07 06:00:23 changed by josephscott

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

04/18/07 16:59:19 changed by josephscott

  • attachment xmlrpc.2.php-diff added.

GMT with out the Z

04/18/07 17:04:22 changed by josephscott

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.

04/20/07 23:50:47 changed by josephscott

  • attachment xmlrpc.3.php-diff added.

Update GMT fixes

04/22/07 03:01:56 changed by josephscott

  • attachment xmlrpc.4.php-diff added.

Previous attachment didn't upload correctly.

04/22/07 03:07:35 changed by ryan

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

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

04/22/07 03:07:58 changed by ryan

  • status changed from closed to reopened.
  • resolution deleted.

Re-open for 2.2 consideration.

04/24/07 23:40:22 changed by ryan

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

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

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

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