On 11/11/18 4:38 PM, home user via users wrote:
(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".
On my F29, it doesn't.
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.
I'm sure it does call strftime. But whatever it's using to render the
resulting string doesn't know to treat a newline in a special way. It
just renders the glyph instead.