On 11/11/18 12:34 PM, home user via users wrote:
Does that work for you? It doesn't work for me. I know that the man
page says it should do that, but it always gave me 12 hour instead.
(f28 and Gnome, both up-to-date as of last Thursday, using "dnf upgrade
--refresh")
I get a 24-hour time when I enter "xclock -d".
I get a 24-hour time when I enter "xclock -d -twentyfour".
Unlikely. The problem is that xclock would have to interpret the
newline character and isn't designed to do that.
The xclock man page lists the "-strftime" option for specifying digital
date-time format, and says "This option allows an strftime(3) format string to be
specified for the digital clock's display.". So I would think it would it would
interpret the "%n" specifier as does strftime. Apparently, my thinking is
wrong. I thought xclock was calling strftime. Apparently not, or maybe it does not know
what to do with a part of what strftime returns.
Bill.