-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Martin Freebody on 8/2/2005 2:31 AM: > BUG: Using the command `date +%r` returns incorrect format > > Version: 3.3.0 (using KDE 3.3.0, SuSE) > Compiler: gcc version 3.3.4 (pre 3.3.5 20040809) > OS: Linux (i686) release 2.6.8-24-smp > > Using the command `date +%r` should give me for example "2:39:00 PM" but > on my machine it returns "02:39:00". [time is set correctly as %R > returns "14:39"].
What is your locale? And what does `LC_ALL=C date +%r' print? This is a feature of strftime under locales. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC73L684KuGfSFAYARAs2QAJ9pFESQl0ztEXLC2cjy7eYYQfpakQCgkhhn 95oZvmlbky+g7Cw2HgE5+oU= =rNGx -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils