Difference between revisions of "Date formats"

From LibrePlanet
Jump to: navigation, search
(format examples for fsf.org and gnu.org: http://php.net/date)
m (format examples for fsf.org and gnu.org)
Line 11: Line 11:
 
** Y-m-d H:m:i (ISO 8601)
 
** Y-m-d H:m:i (ISO 8601)
 
*** http://gplv3.fsf.org/doclic-dd1-guide.html -  last modified  2006-09-26 14:52  
 
*** http://gplv3.fsf.org/doclic-dd1-guide.html -  last modified  2006-09-26 14:52  
 +
** Y-m-d H:m:i O (ISO 8601)
 
*** http://lists.gnu.org/archive/html/ - 2008-10-20 14:12:37 -0400
 
*** http://lists.gnu.org/archive/html/ - 2008-10-20 14:12:37 -0400
 
** Y-m-d h:m A
 
** Y-m-d h:m A

Revision as of 11:34, 29 October 2008

Date format across fsf.org and gnu.org are inconsistent. Consistency would make the pages look nicer and give better experience for the reader.

Adjustments are not allways trivial, due to the software generating the pages. Some software does not easily allow ISO 8601 conform formats.

http://php.net/date - representation of date formats

format examples for fsf.org and gnu.org

involved software

  • CVS: Yavor Doganov: The gnu.org website uses CVS, and timestamps are the $Date$ RCS keyword, expanded by the CVS server. The format is hardcoded in CVS' source code (src/rcs.c, the `printable_date' function).
  • Mediawiki: needs hardcoding in php includes, but is achievable.