aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-09 15:46:22 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-09 15:46:22 +0000
commit98cfcdaecad0fec2bb026f7cafe06491f1765c2e (patch)
treeab18567e10b577d71aecd800ea71cbf9cdd86120 /source
parentef0111fbe76e1556028c302c1fd4c804cccf5b76 (diff)
downloadqxmpp-98cfcdaecad0fec2bb026f7cafe06491f1765c2e.tar.gz
fix and test QDateTime representation in XML-RPC
Diffstat (limited to 'source')
-rw-r--r--source/xmlrpc.cpp2
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" )
{