reassign 305721 hwclock
thanks

Date does funky things when you use the -d option--it's trying to guess
how to parse arbitrary date formats, and there isn't really any way to
fix it (since it intentionally accepts oddball inputs). Since hwclock
can apply arbitrary heuristics or standards to the date, I'd suggest
parsing the input before passing it off to date to ensure that it "makes
sense", and requiring some particular input format (preferably ISO).
Allowing localized date input is a recipie for disaster, because 04-05-06
*cannot* be unambiguously parsed.

One thing to do would have been to use the standard date-setting format
(MMDDhhmm[[CC]YY][.ss]) instead of --date because date *can* do a sanity
check on that format, and no one even comes close without checking the
man page. :)

Mike Stone


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to