Add documentation for DateTime param type
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Add a docstring which defines the behaviors of the class, including default formats supported, usage of ``datetime.strptime`` and "first successful parse wins" behavior. Also add '%Y-%m-%d %H:%M:%S' to the default formats, as it is at least as commonly seen as '%Y-%m-%dT%H:%M:%S'. Minor test fix to handle the new format. Add ``click.DateTime`` to changelog.
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+31 added−4 removed
- tests:+5 added−3 removed
- other:+26 added−1 removed