| 1 | <?xml version="1.0" encoding="utf-8" ?> |
1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 | <!-- |
4 | |
| 5 | This HTML is auto-generated. DO NOT EDIT THIS FILE! If you are writing a new |
|
|
| 6 | PEP, see http://www.python.org/peps/pep-0001.html for instructions and links |
|
|
| 7 | to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! |
|
|
| 8 | --> |
|
|
| 9 | <head> |
5 | <head> |
| 10 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 11 | <meta name="generator" content="Docutils 0.3.3: http://docutils.sourceforge.net/" /> |
7 | <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" /> |
| 12 | <title>GLEP 45 -- GLEP date format</title> |
8 | <title>GLEP 45 -- GLEP date format</title> |
| 13 | <link rel="stylesheet" href="tools/glep.css" type="text/css" /> |
9 | <link rel="stylesheet" href="tools/glep.css" type="text/css" /> |
| 14 | </head> |
10 | </head> |
| 15 | <body bgcolor="white"> |
11 | <body bgcolor="white"> |
| 16 | <table class="navigation" cellpadding="0" cellspacing="0" |
12 | <table class="navigation" cellpadding="0" cellspacing="0" |
| … | |
… | |
| 20 | <img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]" |
16 | <img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]" |
| 21 | border="0" width="150" height="35" /></a></td> |
17 | border="0" width="150" height="35" /></a></td> |
| 22 | <td class="textlinks" align="left"> |
18 | <td class="textlinks" align="left"> |
| 23 | [<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>] |
19 | [<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>] |
| 24 | [<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>] |
20 | [<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>] |
| 25 | [<b><a href="./glep-0045.txt">GLEP Source</a></b>] |
21 | [<b><a href="http://www.gentoo.org/proj/en/glep/glep-0045.txt">GLEP Source</a></b>] |
| 26 | </td></tr></table> |
22 | </td></tr></table> |
| 27 | <div class="document"> |
|
|
| 28 | <table class="rfc2822 field-list" frame="void" rules="none"> |
23 | <table class="rfc2822 docutils field-list" frame="void" rules="none"> |
| 29 | <col class="field-name" /> |
24 | <col class="field-name" /> |
| 30 | <col class="field-body" /> |
25 | <col class="field-body" /> |
| 31 | <tbody valign="top"> |
26 | <tbody valign="top"> |
| 32 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">45</td> |
27 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">45</td> |
| 33 | </tr> |
28 | </tr> |
| … | |
… | |
| 35 | </tr> |
30 | </tr> |
| 36 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td> |
31 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td> |
| 37 | </tr> |
32 | </tr> |
| 38 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Henrik Brix Andersen <brix at gentoo.org></td> |
33 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Henrik Brix Andersen <brix at gentoo.org></td> |
| 39 | </tr> |
34 | </tr> |
| 40 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs/xml/htdocs/proj/en/glep/glep-0045.txt?cvsroot=gentoo">2005/12/13 22:42:27</a></td> |
35 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0045.txt?cvsroot=gentoo">2005/12/13 22:42:27</a></td> |
| 41 | </tr> |
36 | </tr> |
| 42 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
37 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
| 43 | </tr> |
38 | </tr> |
| 44 | <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td> |
39 | <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td> |
| 45 | </tr> |
40 | </tr> |
| 46 | <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0012.html">text/x-rst</a></td> |
41 | <tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td> |
| 47 | </tr> |
42 | </tr> |
| 48 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">13-Dec-2005</td> |
43 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">13-Dec-2005</td> |
| 49 | </tr> |
44 | </tr> |
| 50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">13-Dec-2005</td> |
45 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">13-Dec-2005</td> |
| 51 | </tr> |
46 | </tr> |
| 52 | </tbody> |
47 | </tbody> |
| 53 | </table> |
48 | </table> |
| 54 | <hr /> |
49 | <hr /> |
| 55 | <div class="contents topic" id="contents"> |
50 | <div class="contents topic"> |
| 56 | <p class="topic-title first"><a name="contents">Contents</a></p> |
51 | <p class="topic-title first"><a id="contents" name="contents">Contents</a></p> |
| 57 | <ul class="simple"> |
52 | <ul class="simple"> |
| 58 | <li><a class="reference" href="#abstract" id="id2" name="id2">Abstract</a></li> |
53 | <li><a class="reference" href="#abstract" id="id2" name="id2">Abstract</a></li> |
| 59 | <li><a class="reference" href="#motivation" id="id3" name="id3">Motivation</a></li> |
54 | <li><a class="reference" href="#motivation" id="id3" name="id3">Motivation</a></li> |
| 60 | <li><a class="reference" href="#specification" id="id4" name="id4">Specification</a></li> |
55 | <li><a class="reference" href="#specification" id="id4" name="id4">Specification</a></li> |
| 61 | <li><a class="reference" href="#backwards-compatibility" id="id5" name="id5">Backwards Compatibility</a></li> |
56 | <li><a class="reference" href="#backwards-compatibility" id="id5" name="id5">Backwards Compatibility</a></li> |
| 62 | <li><a class="reference" href="#references" id="id6" name="id6">References</a></li> |
57 | <li><a class="reference" href="#references" id="id6" name="id6">References</a></li> |
| 63 | <li><a class="reference" href="#copyright" id="id7" name="id7">Copyright</a></li> |
58 | <li><a class="reference" href="#copyright" id="id7" name="id7">Copyright</a></li> |
| 64 | </ul> |
59 | </ul> |
| 65 | </div> |
60 | </div> |
| 66 | <div class="section" id="abstract"> |
61 | <div class="section"> |
| 67 | <h1><a class="toc-backref" href="#id2" name="abstract">Abstract</a></h1> |
62 | <h1><a class="toc-backref" href="#id2" id="abstract" name="abstract">Abstract</a></h1> |
| 68 | <p>This GLEP proposes using an ISO-8601 compliant date format in GLEPs.</p> |
63 | <p>This GLEP proposes using an ISO-8601 compliant date format in GLEPs.</p> |
| 69 | </div> |
64 | </div> |
| 70 | <div class="section" id="motivation"> |
65 | <div class="section"> |
| 71 | <h1><a class="toc-backref" href="#id3" name="motivation">Motivation</a></h1> |
66 | <h1><a class="toc-backref" href="#id3" id="motivation" name="motivation">Motivation</a></h1> |
| 72 | <p>The current date format used in GLEPs is <tt class="literal"><span class="pre">dd-mmm-yyyy</span></tt> |
67 | <p>The current date format used in GLEPs is <tt class="docutils literal"><span class="pre">dd-mmm-yyyy</span></tt> |
| 73 | (e.g. 14-Aug-2001). This format is not internationalized and not |
68 | (e.g. 14-Aug-2001). This format is not internationalized and not |
| 74 | easily machine parseable.</p> |
69 | easily machine parseable.</p> |
| 75 | <p>This GLEP proposes switching to using an ISO-8601 compliant date |
70 | <p>This GLEP proposes switching to using an ISO-8601 compliant date |
| 76 | format <tt class="literal"><span class="pre">yyyy-mm-dd</span></tt> (e.g. 2001-08-14). This format is international |
71 | format <tt class="docutils literal"><span class="pre">yyyy-mm-dd</span></tt> (e.g. 2001-08-14). This format is international |
| 77 | and easily machine parseable.</p> |
72 | and easily machine parseable.</p> |
| 78 | </div> |
73 | </div> |
| 79 | <div class="section" id="specification"> |
74 | <div class="section"> |
| 80 | <h1><a class="toc-backref" href="#id4" name="specification">Specification</a></h1> |
75 | <h1><a class="toc-backref" href="#id4" id="specification" name="specification">Specification</a></h1> |
| 81 | <p>An overview of the ISO-8601 specification is available online |
76 | <p>An overview of the ISO-8601 specification is available online |
| 82 | <a class="footnote-reference" href="#iso-8601" id="id1" name="id1">[1]</a>. Note that only the <tt class="literal"><span class="pre">yyyy-mm-dd</span></tt> subset of the ISO-8601 |
77 | <a class="footnote-reference" href="#iso-8601" id="id1" name="id1">[1]</a>. Note that only the <tt class="docutils literal"><span class="pre">yyyy-mm-dd</span></tt> subset of the ISO-8601 |
| 83 | specification should be used in GLEPs.</p> |
78 | specification should be used in GLEPs.</p> |
| 84 | <p>The date(1) utility supports ISO-8601, making it easy for GLEP authors |
79 | <p>The date(1) utility supports ISO-8601, making it easy for GLEP authors |
| 85 | to get the format right.</p> |
80 | to get the format right.</p> |
| 86 | </div> |
81 | </div> |
| 87 | <div class="section" id="backwards-compatibility"> |
82 | <div class="section"> |
| 88 | <h1><a class="toc-backref" href="#id5" name="backwards-compatibility">Backwards Compatibility</a></h1> |
83 | <h1><a class="toc-backref" href="#id5" id="backwards-compatibility" name="backwards-compatibility">Backwards Compatibility</a></h1> |
| 89 | <p>GLEP 1 should be updated to reflect this new date format, and all |
84 | <p>GLEP 1 should be updated to reflect this new date format, and all |
| 90 | dates in existing GLEPs should be changed to be ISO-8601 compliant.</p> |
85 | dates in existing GLEPs should be changed to be ISO-8601 compliant.</p> |
| 91 | </div> |
86 | </div> |
| 92 | <div class="section" id="references"> |
87 | <div class="section"> |
| 93 | <h1><a class="toc-backref" href="#id6" name="references">References</a></h1> |
88 | <h1><a class="toc-backref" href="#id6" id="references" name="references">References</a></h1> |
| 94 | <table class="footnote" frame="void" id="iso-8601" rules="none"> |
89 | <table class="docutils footnote" frame="void" id="iso-8601" rules="none"> |
| 95 | <colgroup><col class="label" /><col /></colgroup> |
90 | <colgroup><col class="label" /><col /></colgroup> |
| 96 | <tbody valign="top"> |
91 | <tbody valign="top"> |
| 97 | <tr><td class="label"><a class="fn-backref" href="#id1" name="iso-8601">[1]</a></td><td>Numeric representation of Dates and Time, |
92 | <tr><td class="label"><a class="fn-backref" href="#id1" name="iso-8601">[1]</a></td><td>Numeric representation of Dates and Time, |
| 98 | <a class="reference" href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html</a></td></tr> |
93 | <a class="reference" href="http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html">http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html</a></td></tr> |
| 99 | </tbody> |
94 | </tbody> |
| 100 | </table> |
95 | </table> |
| 101 | </div> |
96 | </div> |
| 102 | <div class="section" id="copyright"> |
97 | <div class="section"> |
| 103 | <h1><a class="toc-backref" href="#id7" name="copyright">Copyright</a></h1> |
98 | <h1><a class="toc-backref" href="#id7" id="copyright" name="copyright">Copyright</a></h1> |
| 104 | <p>This document has been placed in the public domain.</p> |
99 | <p>This document has been placed in the public domain.</p> |
| 105 | </div> |
100 | </div> |
|
|
101 | |
| 106 | </div> |
102 | </div> |
|
|
103 | <div class="footer"> |
|
|
104 | <hr class="footer" /> |
|
|
105 | <a class="reference" href="glep-0045.txt">View document source</a>. |
|
|
106 | Generated on: 2007-10-13 13:39 UTC. |
|
|
107 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
| 107 | |
108 | |
| 108 | <hr class="footer" /> |
|
|
| 109 | <div class="footer"> |
|
|
| 110 | <a class="reference" href="glep-0045.txt">View document source</a>. |
|
|
| 111 | Generated on: 2005-12-13 22:43 UTC. |
|
|
| 112 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
|
|
| 113 | </div> |
109 | </div> |
| 114 | </body> |
110 | </body> |
| 115 | </html> |
111 | </html> |
| 116 | |
112 | |