Skip to content

Commit

Permalink
Date-time
Browse files Browse the repository at this point in the history
- addresses parts of oasis-tcs#469
- add section on Date and Time to explain the rules
  • Loading branch information
tschmidtb51 committed Oct 25, 2024
1 parent 13237a3 commit 2c8ed76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ Section [sec](#distributing-csaf-documents) states how to distribute and where t
Safety, Security and Data Protection are considered in section [sec](#safety-security-and-data-protection-considerations).
Finally, a set of conformance targets describes tools in the ecosystem.

-------

11 changes: 11 additions & 0 deletions csaf_2.1/prose/edit/src/design-considerations-02-date-time.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Date and Time

This standard uses the `date-time` format as defined in JSON Schema Draft 2020-12 Section 7.3.1.
In accordance with RFC 3339 and ISO 8601, the following rules apply:

- The letter `T` separating the date and time SHALL be upper case.
- The letter `Z` indicating the timezone UTC SHALL be upper case.
- Fractions of seconds are allow as specified in the standards mention above.
- Leap seconds are supported. However, they SHOULD be avoided if possible.

-------

0 comments on commit 2c8ed76

Please sign in to comment.