1 |
GLEP: XX |
2 |
Title: GLEP date and time format |
3 |
Version: $Revision: $ |
4 |
Author: Henrik Brix Andersen <brix@g.o> |
5 |
Last-Modified: $Date: $ |
6 |
Status: Draft |
7 |
Type: Standards Track |
8 |
Content-Type: text/x-rst |
9 |
Created: 13-Dec-2005 |
10 |
Post-History: 13-Dec-2005 |
11 |
|
12 |
Abstract |
13 |
======== |
14 |
|
15 |
This GLEP proposes using an ISO-8601 compliant date format in GLEPs. |
16 |
|
17 |
Motivation |
18 |
========== |
19 |
|
20 |
The current date format used in GLEPs is ``dd-mmm-yyyy`` format |
21 |
(e.g. 14-Aug-2001). This format is not internationalized and not |
22 |
easily machine parsable. |
23 |
|
24 |
This GLEP proposes switching to using an ISO-8601 compliant date |
25 |
format ``yyyy-dd-mm`` (e.g. 2001-08-14). This format is international |
26 |
and easily machine parseable. It also allows specifying the time of |
27 |
day (e.g. ``2001-08-14T19:53:46+0000``). |
28 |
|
29 |
Specification |
30 |
============= |
31 |
|
32 |
An overview of the ISO-8601 specification is available online at |
33 |
http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html |
34 |
|
35 |
The date(1) utility also supports ISO-8601, making it easy for GLEP |
36 |
authors to get the format right. |
37 |
|
38 |
Backwards Compatibility |
39 |
======================= |
40 |
|
41 |
GLEP 1 should be updated to reflect this new date format, and all |
42 |
dates in existing GLEPs should be changed to ISO-8601. |
43 |
|
44 |
Copyright |
45 |
========= |
46 |
|
47 |
This document has been placed in the public domain. |
48 |
|
49 |
-- |
50 |
Henrik Brix Andersen <brix@g.o> |
51 |
Gentoo Metadistribution | Mobile computing herd |