Please support VectorLinux!

Author Topic: jwm Panel Clock  (Read 1445 times)

Pita

  • Vectorian
  • ****
  • Posts: 1324
jwm Panel Clock
« on: December 10, 2007, 11:12:37 pm »
VL-59-RC3

In jwm the panel clock shows the time in AM and PM. I tried to set it to 24 hour format, however, could only do it by going into /usr/bin/jwm and did some fiddling there. Now it shows the 24 hour format yet still the PM and AM, that is 15:15 PM. Have not yet figured how to get rid of AM/PM

There should be an easier way AFAIC or isn't there one. Is this really hard-wired?

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: jwm Panel Clock
« Reply #1 on: December 10, 2007, 11:36:11 pm »
Tweak with the clock in /usr/etc/system.jwmrc file:
Quote:
<Clock>xclock</Clock>

change to:
Quote:
<Clock format=" %R ">xclock</Clock>

It shows the clock in 00-24 hour format.

Pita

  • Vectorian
  • ****
  • Posts: 1324
Re: jwm Panel Clock
« Reply #2 on: December 11, 2007, 12:54:03 am »
Thanks!
That did it. It surely is not for the faint hearted.
I did some fumbling in there but could not get it right.

Regards