Martin Freebody <[EMAIL PROTECTED]> writes: > Using the command `date +%r` should give me for example "2:39:00 PM" but > on my machine it returns "02:39:00".
You are apparently using a locale that does not have a notion of an AM/PM indicator. $ LC_ALL=C date +%r 03:24:58 PM $ LC_ALL=de_DE.utf8 date +%r 03:24:58 $ LC_ALL=en_US.utf8 date +%r 03:24:58 PM Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
