versioningit icon indicating copy to clipboard operation
versioningit copied to clipboard

Add a "today" `next-version` method

Open jwodder opened this issue 2 years ago • 0 comments

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 avatar Dec 06 '23 22:12 jwodder