diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-09 15:46:22 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-09 15:46:22 +0000 |
| commit | 98cfcdaecad0fec2bb026f7cafe06491f1765c2e (patch) | |
| tree | ab18567e10b577d71aecd800ea71cbf9cdd86120 /source | |
| parent | ef0111fbe76e1556028c302c1fd4c804cccf5b76 (diff) | |
| download | qxmpp-98cfcdaecad0fec2bb026f7cafe06491f1765c2e.tar.gz | |
fix and test QDateTime representation in XML-RPC
Diffstat (limited to 'source')
| -rw-r--r-- | source/xmlrpc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xmlrpc.cpp b/source/xmlrpc.cpp index abf3dcc9..e64a0620 100644 --- a/source/xmlrpc.cpp +++ b/source/xmlrpc.cpp @@ -115,7 +115,7 @@ QVariant XMLRPC::demarshall(const QDomElement &elem, QStringList &errors) } else if( typeName == "boolean" ) return QVariant( ( typeData.text().toLower() == "true" || typeData.text() == "1")?true:false ); - else if( typeName == "datetime" || typeName == "dateTime.iso8601" ) + else if( typeName == "datetime" || typeName == "datetime.iso8601" ) return QVariant( QDateTime::fromString( typeData.text(), Qt::ISODate ) ); else if( typeName == "array" ) { |
