Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH] glep-0074: Reference RFC 3339 instead of ISO 8601
Date: Sat, 22 Oct 2022 15:00:20
Message-Id: 20221022150005.976701-1-mgorny@gentoo.org
1 Reference the open RFC 3339 standard instead of ISO 8601. Firstly,
2 because closed standards are not something people can easily look into.
3 Secondly, because we only need a very small subset of what ISO 8601
4 defines and RFC 3339 provides exactly that.
5
6 Signed-off-by: Michał Górny <mgorny@g.o>
7 ---
8 glep-0074.rst | 12 ++++++++----
9 1 file changed, 8 insertions(+), 4 deletions(-)
10
11 diff --git a/glep-0074.rst b/glep-0074.rst
12 index d5e5057..71167c7 100644
13 --- a/glep-0074.rst
14 +++ b/glep-0074.rst
15 @@ -8,8 +8,9 @@ Type: Standards Track
16 Status: Final
17 Version: 1.3
18 Created: 2017-10-21
19 -Last-Modified: 2022-10-04
20 -Post-History: 2017-10-26, 2017-11-16, 2018-02-08, 2022-09-08, 2022-09-11
21 +Last-Modified: 2022-10-22
22 +Post-History: 2017-10-26, 2017-11-16, 2018-02-08, 2022-09-08, 2022-09-11,
23 + 2022-10-22
24 Content-Type: text/x-rst
25 Requires: 59, 61
26 Replaces: 44, 58, 60
27 @@ -267,8 +268,8 @@ The Manifest files can specify the following tags:
28
29 ``TIMESTAMP <iso8601>``
30 Specifies a timestamp of when the Manifest file was last updated.
31 - The timestamp must be a valid second-precision ISO 8601 extended
32 - format combined date and time in UTC timezone, i.e. using
33 + The timestamp must be a valid second-precision RFC 3339 format
34 + combined date and time in UTC timezone [#RFC3339]_, i.e. using
35 the following ``strftime()`` format string: ``%Y-%m-%dT%H:%M:%SZ``.
36 Optional. The package manager can use it to detect an outdated
37 repository checkout as described in `Timestamp verification`_.
38 @@ -1211,6 +1212,9 @@ References
39 .. [#UNICODE] The Unicode standard
40 (https://unicode.org/versions/latest/)
41
42 +.. [#RFC3339] RFC 3339: Date and Time on the Internet: Timestamps
43 + (https://www.rfc-editor.org/rfc/rfc3339)
44 +
45 .. [#PMS-FETCH] Package Manager Specification: Dependency Specification
46 Format - SRC_URI
47 (https://projects.gentoo.org/pms/6/pms.html#x1-940008.2.10)
48 --
49 2.38.1