Skip to content

Commit 4bf64fe

Browse files
authored
Merge pull request package-url#490 from immqu/datetime
Add datetime as generic versioning scheme
2 parents c462e22 + f30ee56 commit 4bf64fe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

VERSION-RANGE-SPEC.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ These are generic schemes, to use sparingly for special cases:
660660

661661
- **semver**: a generic scheme that uses the same syntax as ``semver``. It follows the MAJOR.MINOR.PATCH format and is defined in the Semantic Versioning Specification 2.0.0, see https://semver.org/spec/v2.0.0.html.
662662

663+
- **datetime**: a generic scheme that uses a timestamp for comparison. The timestamp must adhere to RFC3339, section 5.6, see https://www.rfc-editor.org/rfc/rfc3339#section-5.6.
664+
663665
A separate document will provide details for each versioning scheme and:
664666

665667
- how to convert its native range notation to the ``vers`` notation and back.

0 commit comments

Comments
 (0)