ISO 8601 notes
From Reboil
This page contains notes for using ISO 8601.
Stats
Debian
The US_EN locale does not offer ISO 8601 style timestamps as of 2025. However, a custom locale of “English - Sweden” published by a Mikael Auno does offer YYYY-mm-dd HH:MM:SS style dates that will appear across the system.[1][2] The custom locale causes applications to display ISO 8601 timestamps in applications where the LC_TIME="en_SE.UTF-8 environment variable is set.[cmt 1].
For the LXQt desktop environment, the procedure is:
- Create the
/usr/local/share/i18n/localesdirectory if it does not exist. - Copy Auno's locale file to
/usr/local/share/i18n/locales/en_SE. - Create the text file
/usr/local/share/i18n/SUPPORTEDif it does not exist. - Append the newline-terminated string
en_SE.UTF-8 UTF-8if it does not already exist within the file. - Run
$ sudo dpkg-reconfigure locales. - Add the “English - Swedish” locale.
- Run
$ lxqt-config-locale. - Select "Sweden - English (en_SE)" for the "Time" locale under "Detailed Settings".
History
See also
External links
References
- ↑ Mikael Auno. (2009-02-02). “English language locale for Sweden”. stacken.kth.se. Accessed 2022-11-25. Archived from the original on 2013-05-20.
- ↑ Carson Cheng. (2021-03-25). “Use ISO 8601 dates in PCManFM on Debian LXQt”. carsoncheng.ca. Accessed 2022-11-25. Archived from the original on 2022-09-29.
Footnotes
Comments
- ↑ Baltakatei: 2025-11-23: Easily checked for a given environment via
declare -x | grep LC_TIME.