<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">Thanks for the clarification. I thought I would mention it because of the error with the storage.<br />
<br />
Looks like it were 2 separate issues.</div>
<div name="messageSignatureSection"><br />
Groeten, 
<div><br /></div>
<div>Martin</div>
</div>
<div name="messageReplySection"><br />
On 21 jan. 2017 23:05 +0100, Robert Helling <helling@atdotde.de>, wrote:<br />
<blockquote type="cite">Hi,
<div class=""><br class="" />
<div>
<blockquote type="cite" class="">
<div class="">On 21 Jan 2017, at 15:18, <<a href="mailto:martin@reef-it.nl" class="">martin@reef-it.nl</a>> <<a href="mailto:martin@reef-it.nl" class="">martin@reef-it.nl</a>> wrote:</div>
<br class="Apple-interchange-newline" />
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span lang="EN-US" class="" xml:lang="EN-US">I sort of cheated by switching to the English English version. I switched back to Dutch and the date/time error was thrown again.</span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span lang="EN-US" class="" xml:lang="EN-US"> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span lang="EN-US" class="" xml:lang="EN-US">The format is: ddd d MMM yyyy</span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span lang="EN-US" class="" xml:lang="EN-US">The format for short format is: dd-MM-yy</span></div>
</div>
</blockquote>
</div>
<br class="" /></div>
<div class="">I had time to look at this. Turns out, all is fine. This is not an error but a warning that the hyphens („minus signs“) in the short format don’t have any special meaning (like the dd for example that is replaced by the day number) and thus show up as hyphens in the date string. Nothing to worry about. We introduced that warning as people put things like „DD“ in the format string and wondered (read: complained) that that did not properly translate to day numbers. So we warn about anything in the format that is not in the list on <a href="http://doc.qt.io/qt-5/qdatetime.html#toString" class="">http://doc.qt.io/qt-5/qdatetime.html#toString</a> . Those characters simply appear in the date string and that might well be what you intended. Maybe the text of the warning is not optimal.</div>
<div class=""><br class="" /></div>
<div class="">Best</div>
<div class="">Robert</div>
</blockquote>
</div>
</body>
</html>