forked from oasis-tcs/csaf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- addresses parts of oasis-tcs#469 - add links to standards - add rules regarding separator
- Loading branch information
1 parent
9a4fe44
commit ca1f51e
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
csaf_2.1/prose/edit/src/design-considerations-02-date-time.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
## 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: | ||
In accordance with [cite]{#RFC3339} and [cite]{#ISO8601}, the following rules apply: | ||
|
||
* The letter `T` separating the date and time SHALL be upper case. | ||
* The separator between date and time MUST be the letter `T`. | ||
* The letter `Z` indicating the timezone UTC SHALL be upper case. | ||
* Fractions of seconds are allowed as specified in the standards mention above with the full stop (`.`) as separator. | ||
* Leap seconds are supported. However, they SHOULD be avoided if possible. | ||
* Empty timezones are prohibited. | ||
* Empty timezones MUST NOT be used. | ||
* The ABNF of RFC 3339, section 5.6 applies. | ||
|
||
------- |