Denys Vlasenko wrote:
On Sunday 03 July 2011 11:37, Klaus Brinkmann wrote:
Hello Denys
What in current text makes it unclear?
-u Hardware clock is in UTC
-l Hardware clock is in local time
As I described in the linked forum-thread
(http://userpages.uni-koblenz.de/~bbrink/phpBB3/viewtopic.php?f=9&t=16&p=18#p18):
The "is in" in the "--help"-output can be interpreted as "is output in"
and not as it's ment to be interpreted "is kept/stored in". Especially
because the output of "hwclock -ru" or "hwclock -rl" does not clearly
state which timezone the time is shown in. This leads to a different
expected result if you compare it to the "date"-output. Please follow
the above link for the example.
How about this?
-//usage: "\n -u Hardware clock is in UTC"
-//usage: "\n -l Hardware clock is in local time"
+//usage: "\n -u Assume hardware clock is kept in UTC"
+//usage: "\n -l Assume hardware clock is kept in local time"
hwclock from util-linux-2.19.1 does not show timezone.
Busybox tries to mimic 'standard' tools behavior.
The hwclock-command that i use on Gentoo and that _does_ show the
timezone ("CEST" in my case) comes with the portage-package
sys-apps/util-linux-2.19.1 which is from
http://www.kernel.org/pub/linux/utils/util-linux/
I am surprised that it doesn't show the timezone for you, but that it
does for me (for my Gentoo-PC). I have no idea right now what might be
causing this.
We need more data then.
Fedora 15: doesn't show timezone
Gentoo (which version?): shows timezone
Other distros: ?
Latest canilla util-linux: ?
For what it's worth, hwclock from util-linux-2.13-pre7 (puppy Linux
4.2.1) does show time zone
Doug Clapp
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox