It uses the system standard.
I want to change that from e.g.
Code: Select all
02:14 PM → 14:14
Code: Select all
09/24/2022 02:22 PM → 24.09.2022 14:22
Added in 1 day 4 hours 35 minutes 19 seconds:
The search for "Setting system default for date and time? linux" via DDG https://duckduckgo.com/?q=Setting+syste ... oon&ia=web gave me this link https://www.linux.com/training-tutorial ... -commands/
(bold highlighting by me)I like long-iso because it’s easy to sort– year, month, day, single-digit months and days are padded to two digits, and it uses a 24-hour clock. This is all defined in ISO 8601. On Linux it’s controlled by the TIME_STYLE environment variable, so you can override the default system-wide in /etc/profile, or in your personal .profile or .bashrc by adding a line like export TIME_STYLE=long-iso, then logging out and back in.
At least a standard setup Porteus 5.0 seems not to use the TIME_STYLE environment variable (or it has no value assigned to it):
Code: Select all
guest@porteus:/$ echo $TIME_STYLE
guest@porteus:/$
Code: Select all
root@porteus:/etc# grep TIME_STYLE * */* */*/* 2>/dev/null
root@porteus:/etc#
Code: Select all
export TIME_STYLE=long-iso
To recall doing so I will write futureme emails, set up one week and two weeks from now via https://www.futureme.org
![Smile :)](./images/smilies/smile.gif)
Added in 7 hours 46 minutes 54 seconds:
So, during wakeup from suspend Port 5.0 crashed, now I am in a session where this is globally valid
Code: Select all
guest@porteus:/$ echo $TIME_STYLE
long-iso
guest@porteus:/$
Added in 2 minutes 22 seconds:
At least ls -l displays the files now in a nice sortable way and not the other way of displaying newer files differently than older ones - as described in https://www.linux.com/training-tutorial ... -commands/ (a small win is still a win.
![Smile :)](./images/smilies/smile.gif)
Seems I need to go to the IRC chat with the interlink coder once again.
![Unknown :unknown:](./images/smilies/unknw.gif)