Setting system default for date and time?
Posted: 25 Sep 2022, 18:26
Interlink has no config for how it displays the date and time of emails.
It uses the system standard.
I want to change that from e.g.
or from
How do I set this in my system?
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/
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):
Seemingly, there is nowhere TIME_STYLE assigned in /etc or two folders up: (the 2>/dev/null is needed to annul all the warnings about /bin/grep: WhatEver: Is a directory )
I try setting TIME_STYLE via /etc/profile as described above by adding - when I reboot the next time, I will report back here if that did the trick. (Usually I plan to run the current session as long as it not crashes… so that could take a while.)
To recall doing so I will write futureme emails, set up one week and two weeks from now via https://www.futureme.org
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 validStill, interlink displays the same old same old nonsense of "09/24/2022 02:22 PM" instead of the desired "24.09.2022 14:22"
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. )
Seems I need to go to the IRC chat with the interlink coder once again.
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
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. )
Seems I need to go to the IRC chat with the interlink coder once again.