Skip to content

Conversation

immqu
Copy link
Contributor

@immqu immqu commented Nov 22, 2024

This PR introduces a new datetime versioning scheme as discussed in package-url/vers-spec#14.
It forces the RFC3339 format (via a regex match) which is a subset of ISO8601. It then uses python-dateutil to parse timestamps.

immqu added 2 commits August 25, 2025 14:19
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
immqu added 4 commits August 25, 2025 14:24
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
@immqu immqu marked this pull request as ready for review August 25, 2025 14:12
Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
@immqu
Copy link
Contributor Author

immqu commented Sep 16, 2025

Unfortunately, the datetime fromisoformat parsing function behaves differently across Python versions. Therefore, the code uses the function only for the date part and parses the time by foot.

Signed-off-by: Kunz, Immanuel <[email protected]>
Signed-off-by: Kunz, Immanuel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants