summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/serializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/serializer.cpp b/pwmanager/pwmanager/serializer.cpp
index fcdcec3..9377e3d 100644
--- a/pwmanager/pwmanager/serializer.cpp
+++ b/pwmanager/pwmanager/serializer.cpp
@@ -411,13 +411,13 @@ bool Serializer::extractMeta(const QDomNode &n,
411 (name == META_EXPIRE_DATE) || 411 (name == META_EXPIRE_DATE) ||
412 (name == META_UPDATE_DATE)) 412 (name == META_UPDATE_DATE))
413 { 413 {
414 int pos = val.find("T"); 414 int pos = val.find("T");
415 QString date = val.left(pos); 415 QString date = val.left(pos);
416 QString time = val.mid(pos+1); 416 QString time = val.mid(pos+1);
417 qDebug("Serializer::extractMeta : date=%s ,time=%s",date.latin1(), time.latin1() ); 417 qDebug("Serializer::extractMeta from %s to date=%s ,time=%s",val.latin1(), date.latin1(), time.latin1() );
418 bool ok1, ok2; 418 bool ok1, ok2;
419 419
420 QDate m_date = KGlobal::locale()->readDate(date, &ok1); 420 QDate m_date = KGlobal::locale()->readDate(date, &ok1);
421 QTime m_time = KGlobal::locale()->readTime(time, &ok2); 421 QTime m_time = KGlobal::locale()->readTime(time, &ok2);
422 if ((ok1 == false) || (ok2 == false)) 422 if ((ok1 == false) || (ok2 == false))
423 qDebug("Serializer::extractMeta invalid date or time !!!!!!!!!!!!!"); 423 qDebug("Serializer::extractMeta invalid date or time !!!!!!!!!!!!!");