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

Add a "today" next-version method #68

Open
jwodder opened this issue Dec 6, 2023 · 0 comments
Open

Add a "today" next-version method #68

jwodder opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request therefor new method Addition of a new builtin method step:next-version Relating to the "next-version" step under consideration Dev has not yet decided whether or how to implement

Comments

@jwodder
Copy link
Owner

jwodder commented Dec 6, 2023

The method should return the current date in a given format (and given timezone offset?).

  • Add a "normalize: bool" (default True?) parameter that does str(Version(next_version)) in order to get rid of leading zeroes in components
    • Don't use canonicalize_version, as that strips trailing zero components
@jwodder jwodder added enhancement New feature or request therefor new method Addition of a new builtin method step:next-version Relating to the "next-version" step under consideration Dev has not yet decided whether or how to implement labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request therefor new method Addition of a new builtin method step:next-version Relating to the "next-version" step under consideration Dev has not yet decided whether or how to implement
Projects
None yet
Development

No branches or pull requests

1 participant