date doesn't work as expexcted after reading the man page.

In order to set the date you need to do:
$ date <date in some weird format>

The command:
$ date --set=<date in some weird format>
doesn't appear to work.

For example look at this session:
[EMAIL PROTECTED]:~$ LANGUAGE=en_US sudo date 0426172006
Qua Abr 26 17:20:00 WEST 2006
[EMAIL PROTECTED]:~$ LANGUAGE=en_US sudo date --set=0426172006
date: invalid date `0426172006'
[EMAIL PROTECTED]:~$ LANGUAGE=en_US sudo  date --set="0426172006"
date: invalid date `0426172006'

The first command syntax (the only that actually work) isn't
documented in the man page.
It's quite puzzling!

Best regards



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to