[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using the command `date +%r` returns incorrect format
From: |
Martin Freebody |
Subject: |
Using the command `date +%r` returns incorrect format |
Date: |
Tue, 02 Aug 2005 09:31:50 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906 |
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"].
Cheers,
--
Martin Freebody
Software Engineering Dept.
Catapult Communications
www.catapult.com
- Using the command `date +%r` returns incorrect format,
Martin Freebody <=