Skip to content

Commit

Permalink
Add missing hyphen in data-time format in Params docs (apache#36966)
Browse files Browse the repository at this point in the history
The `format` argument for datetime parameter in Params should be passed with hyphen - `date-time`. Without it Airflow interprets this format as `date`.
  • Loading branch information
esthomw authored Jan 23, 2024
1 parent fbd21ed commit 0381f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/core-concepts/params.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ The following features are supported in the Trigger UI Form:
* ``maxLength``: Maximum text length
* | ``format="date"``: Generate a date-picker
| with calendar pop-up
* | ``format="datetime"``: Generate a date and
* | ``format="date-time"``: Generate a date and
| time-picker with calendar pop-up
* ``format="time"``: Generate a time-picker
* | ``enum=["a", "b", "c"]``: Generates a
Expand Down

0 comments on commit 0381f7f

Please sign in to comment.