Public bug reported:

Binary package hint: util-linux

Ubuntu 8.04; Ubuntu 9.10; Fedora 12; CentOS 5.3; ArchLinux, etc

I think that hwclock ignores locales and prints time in its own format.
Compare output from hwclock and date:

$ date; hwclock

Sun Dec 20 13:59:53 CET 2009
Sun 20 Dec 2009 01:59:54 PM CET  -0.469439 seconds

>From my point of view, correct output should be similar from both
commands, like this:

$ date; hwclock

Sun Dec 20 13:59:53 CET 2009
Sun Dec 20 13:59:53 CET 2009  -0.469439 seconds

One more example, I set TZ in this case:

$ export TZ=UTC
$ date; hwclock
Sun Dec 20 13:02:12 UTC 2009
Sun 20 Dec 2009 01:02:13 PM UTC  -0.406637 seconds

Why "PM" is printed in hwclock output and why output is in 12h format and not 
in 24h format?
I am in CZ, my timezone is set to Europe/Prague, we use 24h time format here.

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hwclock prints time in wrong format (is locale ignored?)
https://bugs.launchpad.net/bugs/498775
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to