This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0381f7f98e Add missing hyphen in `data-time` format in Params docs 
(#36966)
0381f7f98e is described below

commit 0381f7f98e3781ce899cd9c53d17c8dce86ce2b7
Author: Tomasz SosiƄski <[email protected]>
AuthorDate: Tue Jan 23 12:27:58 2024 +0100

    Add missing hyphen in `data-time` format in Params docs (#36966)
    
    The `format` argument for datetime parameter in Params should be passed 
with hyphen - `date-time`. Without it Airflow interprets this format as `date`.
---
 docs/apache-airflow/core-concepts/params.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/apache-airflow/core-concepts/params.rst 
b/docs/apache-airflow/core-concepts/params.rst
index 72eb058d4b..8d171d13e9 100644
--- a/docs/apache-airflow/core-concepts/params.rst
+++ b/docs/apache-airflow/core-concepts/params.rst
@@ -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

Reply via email to