[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/nepomuk-kde/backupsync/lib
From: Vishesh Handa <handa.vish () gmail ! com>
Date: 2010-07-31 20:43:28
Message-ID: 20100731204328.297B9AC783 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1157676 by vhanda:
The correct format is 'yyyy-MM-ddThh:mm:ss.zzz' not 'yyyy-mm-ddThh:mm:ss.zzzz'.
M +3 -3 changelogrecord.cpp
M +1 -1 changelogrecord.h
M +2 -1 identificationrequest_p.cpp
--- trunk/playground/base/nepomuk-kde/backupsync/lib/changelogrecord.cpp #1157675:1157676
@@ -42,7 +42,7 @@
const static QString s_dateTimeFormat;
};
-const QString Nepomuk::Sync::ChangeLogRecord::Private::s_dateTimeFormat = QString::fromLatin1("yyyy-mm-ddThh:mm:ss.zzzz");
+const QString Nepomuk::Sync::ChangeLogRecord::Private::s_dateTimeFormat = QString::fromLatin1("yyyy-MM-ddThh:mm:ss.zzz");
//
// Create the serializer and parser
@@ -178,12 +178,12 @@
while( !in.atEnd() )
{
QString line = in.readLine();
-
ChangeLogRecord r( line );
- if( min <= r.d->dateTime )
+ if( min <= r.dateTime() ) {
records.push_back( r );
}
+ }
return records;
}
--- trunk/playground/base/nepomuk-kde/backupsync/lib/changelogrecord.h #1157675:1157676
@@ -41,7 +41,7 @@
* [+/-] [TimeStamp] [Statement]
*
* The TimeStamp represents the time the statement was added or removed.
- * The format for the timestamp is "yyyy-mm-ddThh:mm:ss.zzzz"
+ * The format for the timestamp is "yyyy-MM-ddThh:mm:ss.zzz"
* The ISODateTime format is NOT used because that format does not contain msecs.
*
* \sa ChangeLog
--- trunk/playground/base/nepomuk-kde/backupsync/lib/identificationrequest_p.cpp #1157675:1157676
@@ -391,6 +391,7 @@
void Nepomuk::Sync::IdentificationRequest::Private::outputDebugInfo(const QUrl& uri) const
{
+ /*
const Sync::SimpleResource & res = m_resourceHash.value( uri );
kDebug() << res.uri;
@@ -403,5 +404,5 @@
if( n.isResource() )
qDebug() << humanReadsable( n.uri() );
}
- }
+ }*/
}
\ No newline at end of file
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic