summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qnetworkcookie.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkcookie.cpp b/src/network/access/qnetworkcookie.cpp
index 852fcd6..286c5f6 100644
--- a/src/network/access/qnetworkcookie.cpp
+++ b/src/network/access/qnetworkcookie.cpp
@@ -636,6 +636,8 @@ static QDateTime parseDateString(const QByteArray &dateString)
qDebug() << "Month:" << month;
#endif
at += 3;
+ if (at < dateString.length() && dateString[at] == '-')
+ ++at;
continue;
}
// Zone