Hi All,
I am to set a custom LC_TIME
LC_TIME='en_GB.UTF-8' /usr/bin/krusader
from:
https://www.ibm.com/docs/en/aix/7.1?topic=ff-lc-time-category-locale-definit...
I am after yyyy mm dd HH:MM (24 hour format)
For example: 2025-06-10 23:51
Many thanks, -T
Hi there,
I am to set a custom LC_TIME
LC_TIME='en_GB.UTF-8' /usr/bin/krusader
from: https://www.ibm.com/docs/en/aix/7.1?topic=ff-lc-time-category-locale-definit...
I am after yyyy mm dd HH:MM (24 hour format)
For example: 2025-06-10 23:51
ChatGPT is your friend for such questions...
If you want your system or scripts to always show time like that via LC_TIME, you need a custom locale (more advanced). Here’s a quick guide: 🔧 1. Copy and edit a locale source
cp /usr/share/i18n/locales/en_US ~/my_locale
Edit ~/my_locale, look for:
d_t_fmt "<this line>"
Replace it with:
d_t_fmt "%Y %m %d %H:%M"
You can also edit:
d_fmt "%Y %m %d" t_fmt "%H:%M"
🛠️ 2. Compile your locale
localedef -i ~/my_locale -f UTF-8 my_custom.UTF-8
▶️ 3. Use it
LC_TIME=my_custom.UTF-8 date
Good luck...
Iosif Fettich
Hi Iosif,
I am looking on how to do this on only this command line. LC_TIME='en_GB.UTF-8' /usr/bin/krusader
what do I modify 'en_GB.UTF-8' to get "%Y %m %d %H:%M" in krusader? LC_TIME='%Y %m %d %H:%M' /usr/bin/krusader
does not work
-T