/[gentoo]/xml/htdocs/proj/en/glep/glep-0045.html
Gentoo

Contents of /xml/htdocs/proj/en/glep/glep-0045.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Dec 13 22:43:20 2005 UTC (8 years, 11 months ago) by g2boojum
Branch: MAIN
File MIME type: text/html
new glep

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">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
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>
10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11 <meta name="generator" content="Docutils 0.3.3: http://docutils.sourceforge.net/" />
12 <title>GLEP 45 -- GLEP date format</title>
13 <link rel="stylesheet" href="tools/glep.css" type="text/css" />
14 </head>
15 <body bgcolor="white">
16 <table class="navigation" cellpadding="0" cellspacing="0"
17 width="100%" border="0">
18 <tr><td class="navicon" width="150" height="35">
19 <a href="http://www.gentoo.org/" title="Gentoo Linux Home Page">
20 <img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]"
21 border="0" width="150" height="35" /></a></td>
22 <td class="textlinks" align="left">
23 [<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>]
25 [<b><a href="./glep-0045.txt">GLEP Source</a></b>]
26 </td></tr></table>
27 <div class="document">
28 <table class="rfc2822 field-list" frame="void" rules="none">
29 <col class="field-name" />
30 <col class="field-body" />
31 <tbody valign="top">
32 <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">45</td>
33 </tr>
34 <tr class="field"><th class="field-name">Title:</th><td class="field-body">GLEP date format</td>
35 </tr>
36 <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.1</td>
37 </tr>
38 <tr class="field"><th class="field-name">Author:</th><td class="field-body">Henrik Brix Andersen &lt;brix&#32;&#97;t&#32;gentoo.org&gt;</td>
39 </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>
41 </tr>
42 <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td>
43 </tr>
44 <tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td>
45 </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>
47 </tr>
48 <tr class="field"><th class="field-name">Created:</th><td class="field-body">13-Dec-2005</td>
49 </tr>
50 <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">13-Dec-2005</td>
51 </tr>
52 </tbody>
53 </table>
54 <hr />
55 <div class="contents topic" id="contents">
56 <p class="topic-title first"><a name="contents">Contents</a></p>
57 <ul class="simple">
58 <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>
60 <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>
62 <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>
64 </ul>
65 </div>
66 <div class="section" id="abstract">
67 <h1><a class="toc-backref" href="#id2" name="abstract">Abstract</a></h1>
68 <p>This GLEP proposes using an ISO-8601 compliant date format in GLEPs.</p>
69 </div>
70 <div class="section" id="motivation">
71 <h1><a class="toc-backref" href="#id3" 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>
73 (e.g. 14-Aug-2001). This format is not internationalized and not
74 easily machine parseable.</p>
75 <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
77 and easily machine parseable.</p>
78 </div>
79 <div class="section" id="specification">
80 <h1><a class="toc-backref" href="#id4" name="specification">Specification</a></h1>
81 <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
83 specification should be used in GLEPs.</p>
84 <p>The date(1) utility supports ISO-8601, making it easy for GLEP authors
85 to get the format right.</p>
86 </div>
87 <div class="section" id="backwards-compatibility">
88 <h1><a class="toc-backref" href="#id5" name="backwards-compatibility">Backwards Compatibility</a></h1>
89 <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>
91 </div>
92 <div class="section" id="references">
93 <h1><a class="toc-backref" href="#id6" name="references">References</a></h1>
94 <table class="footnote" frame="void" id="iso-8601" rules="none">
95 <colgroup><col class="label" /><col /></colgroup>
96 <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,
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>
99 </tbody>
100 </table>
101 </div>
102 <div class="section" id="copyright">
103 <h1><a class="toc-backref" href="#id7" name="copyright">Copyright</a></h1>
104 <p>This document has been placed in the public domain.</p>
105 </div>
106 </div>
107
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>
114 </body>
115 </html>

  ViewVC Help
Powered by ViewVC 1.1.20