[dokuwiki] XMLRPC - Date type format

  • From: dominik eckelmann <deckelmann@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 27 May 2010 19:17:31 +0200

Hi again,

i worked some more with the XML RPC backend and noticed DokuWiki uses
1998-07-17T14:08:55 as outputting date.

The XMLRPC spec[1] tells the tag name is <dateTime.iso8601> which
could pointed to a ISO8601[2] datetype (1998-07-17T14:08:55 is
But the example says 19980717T14:08:55, which is no ISO8601.

So far to the **** spec.

I noticed that originally there was a "19980717T14:08:55"-like
timestamp until chimeric changed[4] it.

My problem is:
I use the apache xml-rpc[3] client library to talk to dokuwiki xmlrpc.
When it parses a dateType it causes a exception caused by wrong date

Imho dokuwiki should use the date format the spec[1] tells.

I append the patch for the change back to a spec conform "pseudo ISO8601".

Greetings from Berlin,

[1] http://www.xmlrpc.com/spec
[2] http://en.wikipedia.org/wiki/ISO_8601
[3] http://ws.apache.org/xmlrpc/

Other related posts: