You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Visit https://aboutcode.org and https://github.com/aboutcode-org/univers for support and download.
5
+
6
+
importre
7
+
fromdateutil.parserimportisoparse
8
+
9
+
classDatetimeVersion:
10
+
"""
11
+
datetime version.
12
+
13
+
The timestamp must be RFC3339-compliant, i.e., a subset of ISO8601, where the date AND time are always specified. Therefore, we can use dateutil's ISO-parser but have to check for compliance with the RFC format first via a regex.
0 commit comments