Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for curate format-dates #1653

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 17, 2024

  1. curate format-dates: Update first line of help docs

    Make it clear that the incomplete dates are not automatically masked.
    The user has to explicitly provide the incomplete date formats.
    joverlee521 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7f57bd1 View commit details
    Browse the repository at this point in the history
  2. curate format-dates: Move --expected-date-formats to optional args

    Because of the added default values in
    <#1501>, this is no longer a
    required argument.
    
    The alternative is to explicitly mark this option as `required=True`,
    but that's a breaking change that can be considered later. Currently,
    if `--expected-date-formats` is not provided and dates match the
    defaults, then it's a no-op. If dates do not match the default formats,
    it will raise a loud error so the user can add the custom formats.
    joverlee521 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    fa40bff View commit details
    Browse the repository at this point in the history
  3. curate format-dates: Add hint for failure messages

    When a date parsing failure occurs, show the current expected date
    formats with the hint that they can be updated
    via `--expected-date-formats`.
    joverlee521 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    919a38d View commit details
    Browse the repository at this point in the history
  4. Update changelog

    joverlee521 committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    56aa236 View commit details
    Browse the repository at this point in the history