You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Arunodoy18 (via GitHub)" <gi...@apache.org> on 2025/12/25 05:51:37 UTC

[PR] Improve CLI date argument help text documentation [airflow]

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve CLI date argument help text documentation [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #59797:
URL: https://github.com/apache/airflow/pull/59797


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve CLI date argument help text documentation [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on PR #59797:
URL: https://github.com/apache/airflow/pull/59797#issuecomment-3691827438

   Awesome work, congrats on your first merged pull request! You are invited to check our [Issue Tracker](https://github.com/apache/airflow/issues) for additional contributions.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve CLI date argument help text documentation [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #59797:
URL: https://github.com/apache/airflow/pull/59797#issuecomment-3691827902

   ### Backport successfully created: v3-1-test
   
   <table>
                   <tr>
                       <th>Status</th>
                       <th>Branch</th>
                       <th>Result</th>
                   </tr>
                   <tr>
                       <td>✅</td>
                       <td>v3-1-test</td>
                       <td><a href="https://github.com/apache/airflow/pull/59810"><img src="https://img.shields.io/badge/PR-59810-blue" alt="PR Link"></a></td>
                   </tr>
               </table>


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Improve CLI date argument help text documentation [airflow]

Posted by "Arunodoy18 (via GitHub)" <gi...@apache.org>.
Arunodoy18 commented on PR #59797:
URL: https://github.com/apache/airflow/pull/59797#issuecomment-3690970557

   Hey , I think this could be accurately correct , if anyone points any problem regarding this , could be a help, I will ensure making the following changes.
   thank you
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org