SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: poohduck on December 18, 2017, 01:41:50 PM

Title: SOLVED How do I change the date format?
Post by: poohduck on December 18, 2017, 01:41:50 PM
Date format in bottom right hand corner of screen is MMDDYYYY. I'd like it to be DDMMYYYY. Can anybody shed some light? I'm using openbox, so no lovely gui's. It doesn't look like the format setting is in Panel. The calendar I have shows up when you click on clock. If you hover cursor over clock the current date shows.

Sorry, don't know how to delete this, so I'll show what I found. In panel, under clock, I changed this one line from this:

TooltipFmt = %A %x

to this:

TooltipFmt = %a %e %m %Y       (this shows Tue 19 12 2017)

I used the "build your own" option in this tool: https://www.foragoodstrftime.com/
Title: Re: How do I change the date format?
Post by: Capitain_Jack on December 18, 2017, 01:45:49 PM
"..First day of week

You might want to use the default en_US locale because some software doesn't play nice when locale's set to something else, but you want to have the first day of the week set to Monday, not to Sunday, like it's defined in en_US. To get this desired behaviour you can add the following to /etc/default/locale:

LC_TIME="en_GB.UTF-8"..."

This also change the date format to whatever that locale have as standard, if different from you system location, this is the proper way to change it.
https://wiki.debian.org/Locale#First_day_of_week

Don't forget to, please, if solved, edit the first post title and add [SOLVED] to the begging of it, so it may help others.