How to change default date format?

Please post all general support questions for LXDE here.
Locked
Chriswaterguy
Posts: 26
Joined: Wed Dec 10, 2008 6:09 am

How to change default date format?

Post by Chriswaterguy »

The default date format is US (and almost everyone else uses the international DD/MM/YYYY format).

How do I change the system default, so that the date in PCManFM, for example, shows in the international format?

(I found Clock settings but that only affects the panel clock.)
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: How to change default date format?

Post by Marty Jack »

http://www.linux.com/archive/feed/53781

Arrange your startup so LANG (or at least LC_TIME) is set in time for whatever launches PCManFM to pick it up.

Typically you put export LANG= in .bashrc, and then if you have a login shell somewhere in your startup sequence, it gets set.
You can do this by having the display manager launch /bin/bash -l -c /usr/bin/lxsession
Locked