This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

GLEP:45

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Warning
This GLEP is no longer maintained in the Gentoo Wiki and remains here only as a historical record. Please visit https://www.gentoo.org/glep/glep-0045.html for the current version of this GLEP.
GLEP 45: GLEP date format
Type Informational
Status Deferred
Author Henrik Brix Andersen <brix@gentoo.org>
Editor
Replaces
Replaced by (none)
Requires
Post History

Status

No progress, marked as Deferred by GLEP editor creffett.

Abstract

This GLEP proposes using an ISO-8601 compliant date format in GLEPs.

Motivation

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.

Specification

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.

Backwards Compatibility

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.

References

Copyright

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.