diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-13 15:10:36 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-13 15:10:36 +0100 |
commit | 8035957cf586a7349813934b43c925c39ae76fd0 (patch) | |
tree | d6ea5f5749b559515b1de7c0f12f84164be9f6be | |
parent | e275427219edeffcdec586ceddbb08c7e888c37f (diff) | |
download | sink-8035957cf586a7349813934b43c925c39ae76fd0.tar.gz sink-8035957cf586a7349813934b43c925c39ae76fd0.zip |
Fixed date parsing
-rw-r--r-- | common/domain/propertyregistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/domain/propertyregistry.cpp b/common/domain/propertyregistry.cpp index 755e7b4..d929d68 100644 --- a/common/domain/propertyregistry.cpp +++ b/common/domain/propertyregistry.cpp | |||
@@ -77,7 +77,7 @@ QVariant parseString<QList<QByteArray>>(const QString &s) | |||
77 | template <> | 77 | template <> |
78 | QVariant parseString<QDateTime>(const QString &s) | 78 | QVariant parseString<QDateTime>(const QString &s) |
79 | { | 79 | { |
80 | return QVariant::fromValue(QDateTime::fromString(s)); | 80 | return QVariant::fromValue(QDateTime::fromString(s, Qt::ISODate)); |
81 | } | 81 | } |
82 | 82 | ||
83 | template <> | 83 | template <> |