Arunodoy18 opened a new pull request, #59797:
URL: https://github.com/apache/airflow/pull/59797

   The help text for --start-date and --end-date arguments only documented the 
YYYY-MM-DD format, but the actual implementation uses pendulum.parse() which 
accepts a much wider variety of formats.
   
   This commit updates the help text to accurately document the commonly used 
formats:
   - YYYY-MM-DD (date only)
   - YYYY-MM-DDTHH:MM:SS (datetime)
   - YYYY-MM-DDTHH:MM:SSHH:MM (datetime with timezone, ISO 8601)
   
   The help text also references pendulum.parse() to indicate that additional 
formats are supported, improving clarity for users.
   
   Fixes: Incomplete documentation of date format options
   
   Improves the CLI help text documentation for `--start-date` and `--end-date` 
arguments to accurately reflect the supported datetime formats.
   
   ## Problem
   The help text for date arguments only documented `YYYY-MM-DD` format, but 
the actual implementation uses `pendulum.parse()` which accepts many more 
formats including ISO 8601, RFC 3339, and others.
   
   ## Solution
   Updated the help text to document commonly used formats and reference 
`pendulum.parse()` for complete format support.
   
   ## Testing
   Run `airflow dags backfill --help` to verify the updated help text displays 
correctly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to