|
|
[Gentoo Linux Home] [GLEP Index] [GLEP Source] |
| GLEP: | 45 |
|---|---|
| Title: | GLEP date format |
| Version: | 1.1 |
| Author: | Henrik Brix Andersen <brix at gentoo.org> |
| Last-Modified: | 2005/12/13 22:42:27 |
| Status: | Draft |
| Type: | Standards Track |
| Content-Type: | text/x-rst |
| Created: | 13-Dec-2005 |
| Post-History: | 13-Dec-2005 |
This GLEP proposes using an ISO-8601 compliant date format in GLEPs.
The current date format used in GLEPs is dd-mmm-yyyy (e.g. 14-Aug-2001). This format is not internationalized and not easily machine parseable.
This GLEP proposes switching to using an ISO-8601 compliant date format yyyy-mm-dd (e.g. 2001-08-14). This format is international and easily machine parseable.
An overview of the ISO-8601 specification is available online [1]. Note that only the yyyy-mm-dd subset of the ISO-8601 specification should be used in GLEPs.
The date(1) utility supports ISO-8601, making it easy for GLEP authors to get the format right.
GLEP 1 should be updated to reflect this new date format, and all dates in existing GLEPs should be changed to be ISO-8601 compliant.
| [1] | Numeric representation of Dates and Time, http://www.iso.org/iso/en/prods-services/popstds/datesandtime.html |
This document has been placed in the public domain.