-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bob Proulx on 1/7/2009 3:12 PM: > > http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#The-date-command-is-not-working-right_002e > > How does that look?
A couple of nits: "The parsing of dates with date --date=STRING is a GNU extension and not covered by any standards beyond those to which GNU holds itself." Not entirely true any longer, now that POSIX 2008 requires that 'touch -d STRING' parse a limited format of ISO dates, and we implement that with the same date parsing engine as our (true GNU extension) 'date -d'. On the other hand, since we don't yet accept 'T' in an ISO date (POSIX allows the alternative of space, which we do parse), there is still some hacking to be done on getdate.y. But yes, in general, we parse many more STRINGs as dates than what POSIX requires. "The %Y and %U options work in combination." To be fair, we should state that the %Y and your choice of %U/%W work in combination (%W if you want Monday, %U if you want Sunday as the first day of the week). - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkllaeEACgkQ84KuGfSFAYBYkwCgmFdOrkSBFAbXtEBrTDe0WDCO DJ8Ani9RwIt1Cb6vP1cBoF289isk0Hdr =gJI1 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils