VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: jwm Panel Clock  (Read 1462 times)

Pita

  • Vectorian
  • ****
  • Posts: 1326
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?
Logged

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.
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1326
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
Logged