![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| command to change duplex settings.. | sag71155 | HP-UX | 2 | 03-23-2008 12:21 PM |
| Couldn't set locale correctly | Mr Pink | SUN Solaris | 1 | 05-02-2007 05:02 AM |
| How to change root's .profile settings | FredSmith | UNIX for Dummies Questions & Answers | 1 | 08-07-2006 11:57 AM |
| Using locale | alodha | UNIX for Dummies Questions & Answers | 3 | 02-15-2005 12:32 PM |
| How to change locale ? | snsrini | UNIX for Dummies Questions & Answers | 1 | 11-26-2000 10:43 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
how do I change locale settings?
I support a product which writes to log files and it's currently formatting the date in US format. I've established this is due to these settings:
account1# locale -k d_fmt t_fmt d_fmt="%m/%d/%y" t_fmt="%H:%M:%S" If I log on with a different account the settings are different: account2# locale -k d_fmt t_fmt d_fmt="%d/%m/%y" t_fmt="%r" Does anyone know where these setting are defined? I don't know if it's relevant but the LC_ variables exist for both accounts are the same: account1$ set LC_COLLATE=en_GB.ISO8859-1 LC_CTYPE=en_GB.ISO8859-1 LC_MESSAGES=C LC_MONETARY=en_GB.ISO8859-1 LC_NUMERIC=en_GB.ISO8859-1 LC_TIME=en_GB.ISO8859-1 account2$ set LC_COLLATE=en_GB.ISO8859-1 LC_CTYPE=en_GB.ISO8859-1 LC_MESSAGES=C LC_MONETARY=en_GB.ISO8859-1 LC_NUMERIC=en_GB.ISO8859-1 LC_TIME=en_GB.ISO8859-1 Gareth |
| Forum Sponsor | ||
|
|