You are not logged in.

#1 2020-11-24 02:39:23

deadface
Member
Registered: 2016-04-16
Posts: 13

Change clock to 12hr format

Hi

I am sorry but I did a mad search in the forums and nothing came up.  It isn't obvious to me how to go about changing the clock to 12hr format.  Can I get a pointer to how this is done? 

Thanks

Offline

#2 2020-11-24 08:43:46

damo
....moderator....
Registered: 2015-08-20
Posts: 6,488

Re: Change clock to 12hr format

deadface wrote:

Hi

I am sorry but I did a mad search in the forums and nothing came up.  It isn't obvious to me how to go about changing the clock to 12hr format.  Can I get a pointer to how this is done? 

Thanks

Are you referring to the Tint2 clock? There is a link to Tint2 configuration in the Help & Resources section in the main menu, or use man tint2

• time1_format = %H:%M : The format used by the first line of the clock.

                • time1_format, time2_format and clock_tooltip use the 'strftime' syntax.  More
                  info can be found here: ⟨http://www.manpagez.com/man/3/strftime/⟩

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2020-11-24 18:24:34

hhh
Meep!
Registered: 2015-09-17
Posts: 10,965
Website

Re: Change clock to 12hr format

The 12 hr code I use is %l:%M %P (so 11:06 pm, or %p for 11:06 PM. It's reverse of what you'd think, whatever.)

With a vertical panel, I just use %l:%M to save space (11:06). I usually can tell if it's morning or afternoon without a clock.

Offline

#4 2020-11-25 18:32:05

deadface
Member
Registered: 2016-04-16
Posts: 13

Re: Change clock to 12hr format

Ok.  Sorry for getting back late but I was referring to the tint2 clock and this helps!

Offline

Board footer

Powered by FluxBB