mrjoes/flask-admin — pull request #549 by pawl (2014-05-24 09:14:30+00:00)
Title: Allow Changing DateTimeField's date-format using form_args

This has to do with issue #548

This change allows the following code to work:
```
form_args = dict(end_time=dict(widget_format='yyyy-mm-dd hh:ii'))
```

With the code above, the DateTimeField will be rendered with data-date-format="yyyy-mm-dd hh:ii".

My changes add a "widget_format" optional parameter to the DateTimeField, this allows for changing DateTimePickerWidget's kwargs['data-date-format'] variable.

Is there another way to add kwargs to DateTimePickerWidget that I'm missing? Maybe we just need to document how to use form_widget_args for this (if that's appropriate)?