<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:remialcxesans;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.E-mailStijl19
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL-BE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Thanks a lot Alessandro,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">That works perfectly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="NL" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><div style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:5px 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:14.67px;"><td align="left" style="padding:2px 0;vertical-align:top;font-family:Tahoma;">Reginald Carlier<span style="font-family:remialcxesans;">​</span></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:13.33px;"><td align="left" style="padding:2px 0;vertical-align:top;font-family:Tahoma;">Deskundige GIS</td></tr></table></td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="padding:3px 0;vertical-align:top;"><a href="https://www.ingelmunster.be/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/ingelmunster.gif" height="65" border="0" alt="" style="height:65px;min-height:65px;max-height:65px;font-size:0;" /></a></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:2px 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="vertical-align:top;font-family:Tahoma;">Gemeente Ingelmunster</td><td align="left" style="vertical-align:top;font-family:Tahoma;">, </td><td align="left" style="vertical-align:top;font-family:Tahoma;">Oostrozebekestraat 4</td><td align="left" style="vertical-align:top;font-family:Tahoma;">, </td><td align="left" style="vertical-align:top;font-family:Tahoma;">8770</td><td align="left" style="vertical-align:top;font-family:Tahoma;"> </td><td align="left" style="vertical-align:top;font-family:Tahoma;">Ingelmunster</td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:2px 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="vertical-align:top;font-family:Tahoma;">T</td><td align="left" style="vertical-align:top;font-family:Tahoma;"><a href="tel:+32%2051%2033%2074%2039" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#5C676D;"><strong style="font-weight:400;">+32 51 33 74 39</strong></a></td><td align="left" style="vertical-align:top;font-size:0;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;color:#5C676D;font-style:normal;font-weight:400;white-space:nowrap;"><tr style="font-size:12px;"><td align="left" style="padding:0 0 0 5px;vertical-align:top;font-family:Tahoma;"><a href="http://www.ingelmunster.be/" target="_blank" id="LPlnk689713" title="Website Ingelmunster" style="text-decoration:none;color:#5C676D;"><strong style="font-weight:400;">www.ingelmunster.be</strong></a></td></tr></table></td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:4px 0 2px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><a href="https://www.facebook.com/Ingelmunster/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/fb.jpg" height="19" border="0" title="Facebook" alt="Facebook" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td><td align="left" style="vertical-align:top;"><a href="https://www.instagram.com/ingelmunster/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/in.jpg" height="19" border="0" title="instagram" alt="instagram" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td><td align="left" style="vertical-align:top;"><a href="https://www.pinterest.com/ingelmunster/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/pi.jpg" height="19" border="0" title="pinterest" alt="pinterest" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td><td align="left" style="vertical-align:top;"><a href="https://twitter.com/ingelmunster" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="http://www.ingelmunster.be/tw.jpg" height="19" border="0" title="twitter" alt="twitter" style="height:19px;min-height:19px;max-height:19px;font-size:12px;" /></a></td></tr></table></td></tr></table></td></tr><tr style="color:#000001;font-size:9px;font-style:normal;font-weight:400;white-space:nowrap;"><td align="left" style="vertical-align:top;font-family:Tahoma;"><a href="http://www.ingelmunster.be/email-disclaimer.html" target="_blank" id="LPlnk689713" title="disclaimer" style="text-decoration:none;color:#5C676D;"><strong style="font-weight:400;">Raadpleeg onze disclaimer </strong></a></td></tr></table></div>Van:</span></b><span lang="NL" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alessandro Pasotti [mailto:apasotti@gmail.com]
<br>
<b>Verzonden:</b> donderdag 9 augustus 2018 9:10<br>
<b>Aan:</b> Reginald Carlier<br>
<b>CC:</b> Nyall Dawson [via OSGeo.org]; qgis-user@lists.osgeo.org<br>
<b>Onderwerp:</b> Re: [Qgis-user] localisation of date fails in QGIS 3.2<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p style="margin:0cm;margin-bottom:.0001pt">Reginald,<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap">Using QT:<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap">locale = QLocale(QLocale.Japanese)<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap">locale.toString(QDate.currentDate())<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap">And, if you want to use the same settings that you set in QGIS, just use the default locale:<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap">locale = QLocale() # Default locale from QGIS options/settings
<o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt">locale.toString(QDate.currentDate())<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt;white-space:pre-wrap"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Aug 9, 2018 at 8:54 AM, Reginald Carlier <<a href="mailto:Reginald.Carlier@ingelmunster.be" target="_blank">Reginald.Carlier@ingelmunster.be</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">I forgot to mention that I import datetime as follows:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">from datetime import datetime</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">In the console I get the same result as from my script.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Maybe I should use QCoreApplication.translate or some other explicit way to tell python
 to translate a string from English to Dutch?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td valign="top" style="padding:3.75pt 0cm 3.75pt 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:1.5pt 0cm 1.5pt 0cm">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">Reginald Carlier</span><span style="font-size:11.0pt;font-family:"remialcxesans","serif";color:#5C676D">​</span><span style="font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#5C676D"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:1.5pt 0cm 1.5pt 0cm">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">Deskundige GIS<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:2.25pt 0cm 2.25pt 0cm">
<p class="MsoNormal"><span style="font-size:1.0pt"><a href="https://www.ingelmunster.be/" target="_blank" id="m_5261481370332348146LPlnk689713"><b><span lang="NL" style="text-decoration:none">Fout! Bestandsnaam niet opgegeven.</span></b></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:1.5pt 0cm 1.5pt 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">Gemeente Ingelmunster<o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">, <o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">Oostrozebekestraat 4<o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">, <o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">8770<o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D"> <o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">Ingelmunster<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:1.5pt 0cm 1.5pt 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D">T<o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D"><a href="tel:+32%2051%2033%2074%2039" target="_blank" id="m_5261481370332348146LPlnk689713"><strong><span style="font-family:"Tahoma","sans-serif";color:#5C676D;font-weight:normal;text-decoration:none">+32 51 33 74 39</span></strong></a><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 3.75pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#5C676D"><a href="http://www.ingelmunster.be/" target="_blank" title="Website Ingelmunster" id="m_5261481370332348146LPlnk689713"><strong><span style="font-family:"Tahoma","sans-serif";color:#5C676D;font-weight:normal;text-decoration:none">www.ingelmunster.be</span></strong></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:3.0pt 0cm 1.5pt 0cm">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:1.0pt"><a href="https://www.facebook.com/Ingelmunster/" target="_blank" id="m_5261481370332348146LPlnk689713"><b><span lang="NL" style="text-decoration:none">Fout! Bestandsnaam niet opgegeven.</span></b></a><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:1.0pt"><a href="https://www.instagram.com/ingelmunster/" target="_blank" id="m_5261481370332348146LPlnk689713"><b><span lang="NL" style="text-decoration:none">Fout! Bestandsnaam niet opgegeven.</span></b></a><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:1.0pt"><a href="https://www.pinterest.com/ingelmunster/" target="_blank" id="m_5261481370332348146LPlnk689713"><b><span lang="NL" style="text-decoration:none">Fout! Bestandsnaam niet opgegeven.</span></b></a><o:p></o:p></span></p>
</td>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:1.0pt"><a href="https://twitter.com/ingelmunster" target="_blank" id="m_5261481370332348146LPlnk689713"><b><span lang="NL" style="text-decoration:none">Fout! Bestandsnaam niet opgegeven.</span></b></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:7.0pt;font-family:"Tahoma","sans-serif";color:#000001"><a href="http://www.ingelmunster.be/email-disclaimer.html" target="_blank" title="disclaimer" id="m_5261481370332348146LPlnk689713"><strong><span style="font-family:"Tahoma","sans-serif";color:#5C676D;font-weight:normal;text-decoration:none">Raadpleeg onze disclaimer </span></strong></a><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><b>Van:</b><span lang="NL" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nyall Dawson [via OSGeo.org] [mailto:<a href="mailto:ml%2Bs1560n5373899h69@n6.nabble.com" target="_blank">ml+s1560n5373899h69@n6.nabble.com</a>]
<br>
<b>Verzonden:</b> donderdag 9 augustus 2018 8:43<br>
<b>Aan:</b> Reginald Carlier<br>
<b>Onderwerp:</b> Re: localisation of date fails in QGIS 3.2</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On Thu, 9 Aug 2018 at 16:39, Reginald Carlier
<br>
<<a href="http://user/SendEmail.jtp?type=node&node=5373899&i=0" target="_blank">[hidden email]</a>> wrote:
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
> <br>
> Hi Nyall, <br>
> <br>
> Somehow my post shows the code but my previous post doesn't. <br>
> Anyway this is how the code looks: <br>
> <br>
> vandaag = datetime.now() <br>
> dag = vandaag.day <br>
> maand = vandaag.strftime("%B") <br>
> jaar = vandaag.year <br>
> datum = str(dag) + " " + maand + " " + str(jaar) <br>
> <br>
> I suspect that maybe strftime changed in python 3.6? <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
Do you see the same from a standalone python console? (I'm not sure <br>
that this issue is related to QGIS at all or whether it's a Python <br>
specific thing). <br>
<br>
Nyall <br>
_______________________________________________ <br>
Qgis-user mailing list <br>
<a href="http://user/SendEmail.jtp?type=node&node=5373899&i=1" target="_blank">[hidden email]</a>
<br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a> <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://osgeo-org.1560.x6.nabble.com/localisation-of-date-fails-in-QGIS-3-2-tp5372703p5373899.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/localisation-of-date-fails-in-QGIS-3-2-tp5372703p5373899.html</a>
</span><o:p></o:p></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:18.0pt">
<span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To start a new topic under QGIS - User, email
<a href="mailto:ml%2Bs1560n4125267h77@n6.nabble.com" target="_blank">ml+s1560n4125267h77@n6.nabble.com</a>
<br>
To unsubscribe from QGIS, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4099105&code=UmVnaW5hbGQuQ2FybGllckBpbmdlbG11bnN0ZXIuYmV8NDA5OTEwNXw3OTAxNjMzMzQ=" target="_blank">
click here</a>.<br>
<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_blank"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
</span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<p class="MsoNormal">Alessandro Pasotti<br>
w3:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>