[wp-trac] Re: [WordPress Trac] #3995: Xml-Rpc dateTime inaccurate
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 21 19:28:37 GMT 2007
#3995: Xml-Rpc dateTime inaccurate
----------------------+-----------------------------------------------------
Reporter: whilo | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: XML-RPC | Version: 2.0.9
Severity: critical | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by whilo):
* status: closed => reopened
* resolution: invalid =>
Comment:
[http://en.wikipedia.org/wiki/ISO_8601 ISO_8601]
O.k. I think, I've found the real problem with dateTime objects:
As it is stated here, the format can be both YYYYMMDD and YYYY-MM-DD, but
Wordpress [http://trac.wordpress.org/browser/trunk/wp-includes/class-
IXR.php#L618 only] supports YYYYMMDD. My application uses the second
format, which puts a date of 1999 in the database.
Cheers,
Christian
--
Ticket URL: <http://trac.wordpress.org/ticket/3995#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list