Subject: Re: bin/9033: user defined date format only appended to date output
To: None <hermit@cs.tu-berlin.de>
From: Brian Ginsbach <ginsbach@spacestar.net>
List: netbsd-bugs
Date: 12/20/1999 20:46:20
Bjoern Labitzke wrote:
> 
> >How-To-Repeat:
>         $ date "+%c%m%d %H%M"
>         Mon Dec 20 16:04:36 19991220 1604
>         $

I don't think this is a bug; at least the above example isn't. The %c
format
specifier says print the locale's appropriate date and time
represtentation.
That is just what it did.  I think that you wanted %y or %Y.  See
strftime(3).

	$ date "+%y%m%d %H%M"
	991220 2041
-- 
Brian Ginsbach