From: jmc Date: Fri, 3 Jan 2014 15:52:04 +0000 (+0000) Subject: note that our date supports traditional bsd date format, which is X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5aa848ca66417e17ed8dcdb71951fc364d098c27;p=openbsd note that our date supports traditional bsd date format, which is different to what posix/xpg specifies; diff originally posted to tech, changed after some feedback from kettenis, then a bit more from schwarze and sobrado; ok schwarze sobrado --- diff --git a/bin/date/date.1 b/bin/date/date.1 index bf2768000b5..47756525862 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: date.1,v 1.59 2011/08/31 08:48:40 jmc Exp $ +.\" $OpenBSD: date.1,v 1.60 2014/01/03 15:52:04 jmc Exp $ .\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: August 31 2011 $ +.Dd $Mdocdate: January 3 2014 $ .Dt DATE 1 .Os .Sh NAME @@ -224,6 +224,14 @@ specification. The flags .Op Fl adjrtz are extensions to that specification. +.Pp +This implementation requires the traditional +.Bx +date format, +[[[[[cc]yy]mm]dd]HH]MM[.SS], +which differs from the +.St -xpg4 +specification. .Sh HISTORY A .Nm