DATE set broken

"Barnes, Brian" <[email protected]> Wed, 6 Nov 2002 11:42:26 -0600
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <85BB560E5E697744A8F1821DD48D06591B855E@austindc02.austin.polycom.com>
Hi,

Your date set feature is horribly broken and/or misleadingly documented. 

Per your documentation, these should work (date [-u|--utc|--universal]
[MMDDhhmm[[CC]YY][.ss]])
	date -s 11061137 <enter>
	date -s 110611372002 <enter>


What is your format???? 
	 date [OPTION]... [+FORMAT]
       -s, --set=STRING
              set time described by STRING
The + sign causes an error. 
None of the % FORMAT options work

Give an example. You appear to accept one format for reading, but not for
setting. The 2 operations should be 100% reversible. Bad design and/or
implementation. 

Use Perl::Date::Manip to make sense out of any REASONABLE date and use it.

	Brian