title: How to display a date_time field in jinja2 template? (flask)
body: <p>I have a form with these two values (ndb is the Google App Engine <a href="https://cloud.google.com/appengine/docs/python/ndb/modelclass" rel="nofollow">ndb model</a>):</p>
  
  <p>model:</p>
  
  <pre><code>class Appointment(model.Base):
      start_time = ndb.DateTimeProperty(required=True)
      end_time = ndb.DateTimeProperty(required=True)
  </code></pre>
  
  <p>form (using wtforms):</p>
  
  <pre><code>class AppointmentUpdateForm(wtf.Form):
      start_time = wtforms.DateField('Start at', [wtforms.validators.required()])
      end_time = wtforms.DateField('End at', [wtforms.validators.required()])
  </code></pre>
  
  <p>And in the jinja2 template I have:</p>
  
  <pre><code>  {{forms.date_field(form.start_time, format='%Y-%m-%d %H:%M:%S')}}
    {{forms.date_field(form.end_time)}}
  </code></pre>
  
  <p>I want to display the form inputs as time widget but it looks like a date field. I think wtforms has a date_time field but how can I implement that?</p>