<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    Hello,<br>
    <br>
    I'm using Qgis 3.1415 46bits on Windows 10 and I try to use the new
    processing parameters controls in processing algorithms<br>
    <br>
    I've used a QgsProcessingParameterDateTime. It wroks well. I have
    access to the calendar form<br>
    <br>
    <i>code below:<br>
      <br>
       </i><i>       self.addParameter( </i><i><br>
    </i><i>            QgsProcessingParameterDateTime(</i><i><br>
    </i><i>                self.DEBUT_PERIODE,</i><i><br>
    </i><i>                self.tr('Calendar start'),</i><i><br>
    </i><i>                type=1</i><i><br>
    </i><i>                </i><i><br>
    </i><i>            )</i><i><br>
    </i><i>        )</i><i><br>
    </i><br>
    bus when I try to get the date chosen, I"v got the following error
    message<br>
    <br>
    <span style=" color:#ff0000;">Traceback (most recent call last):<br>
      File
"C:/Users/patrick.palmier/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\networks\import_gtfs.py",
      line 175, in processAlgorithm<br>
debut_periode=self.parameterAsDate(parameters,self.DEBUT_PERIODE,context)<br>
      AttributeError: 'ImportGTFS' object has no attribute
      'parameterAsDate'<br>
    </span>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
        style=" color:#ff0000;">Échec d'exécution au bout de 0.04
        secondes</span></p>
    <p style="-qt-paragraph-type:empty; margin-top:0px;
      margin-bottom:0px; margin-left:0px; margin-right:0px;
      -qt-block-indent:0; text-indent:0px;"><br>
      code below:<br>
      <br>
    </p>
    <p style="-qt-paragraph-type:empty; margin-top:0px;
      margin-bottom:0px; margin-left:0px; margin-right:0px;
      -qt-block-indent:0; text-indent:0px;"><i>debut_periode=self.parameterAsDate(parameters,self.DEBUT_PERIODE,context)<br>
      </i></p>
    <p style="-qt-paragraph-type:empty; margin-top:0px;
      margin-bottom:0px; margin-left:0px; margin-right:0px;
      -qt-block-indent:0; text-indent:0px;"><i><br>
      </i>Do you what is wrong?<br>
    </p>
    <p style="-qt-paragraph-type:empty; margin-top:0px;
      margin-bottom:0px; margin-left:0px; margin-right:0px;
      -qt-block-indent:0; text-indent:0px;"><br>
    </p>
    <p style="-qt-paragraph-type:empty; margin-top:0px;
      margin-bottom:0px; margin-left:0px; margin-right:0px;
      -qt-block-indent:0; text-indent:0px;">Thanks in advance<br>
    </p>
    <br>
    Patrick Palmier
  </body>
</html>