The date format of the date columns is really long "Tue 12 June 2012 17:12:34 PHT". I would prefer a shorter version, e.g. 12/06/2012 or 12/06/2012 17:12. I tried to change it in Settings/Language Support or Time&Date, but did not find an option to influence the length of the date/time format. Any hint?
3 Answers
Ubuntu 24.04 Nautilus 46.2 and maybe earlier
Preferences>Date & Time Format:
Simple (10 Jan 2025) or Detailed (13/01/25 15:52)
For more options, see other answer ATutorMe.
There is a vacuum for changing date format of the date columns in Ubuntu 14.04, 16.04, 18.04 and following (18.10, 19.04, 19.10, 20.04). (Neither dconf, gconf nor gsettings works, there is no date-format setting option.)
There are some workarounds, see How to show full date and time in Nautilus/Files 3.6+ list view.
Bug reports are opened on Gitlab and Bugzilla, please add your comments or help if you have the expertise as there has been no progress for years!
With other problems, e.g. Bug #1152226 “nautilus no longer remembers view per directory” and View mode setting should persistent for each directory, Nautilus is more and more user-UNfriendly and a switch to Nemo or other alternative file browser like Thunar is to consider.
ONLY Ubuntu 17.04 & 17.10 in a terminal (not in 18.04):
gsettings set org.gnome.nautilus.preferences date-format isogsettings set org.gnome.nautilus.preferences date-format localegsettings set org.gnome.nautilus.preferences date-format informal
Credit goes to Pablo Bianchi, see his comment.
For Caja (Mate 17.04): See other answer
Only works up to Ubuntu 12.04, maybe 13.10 (not 14.04 and 16.04):
Install dconf-editor (available in the normal repository), navigate to:
org>gnome>nautilus>preferences>date-format, then click on the field "value" beside the date-format field and a drop-down menu appears with the three choices:
- locale = Tue 12 June 2012 17:12:34 PHT
- iso = 2012-06-12 17:12:34
- informal = Today at 5:12:34 PM or Tuesday, June 12 2012 5:12:34 PM
I chose iso and am happy.
- 13,891
User does not need to install dconf-editor to accomplish a date format change in Nautilus. It can be done via Nautilus' Preferences.
Edit > Preferences > "Display" tab
look for the "Format" section under the "Date" heading
- 1,231
Download your preferred language translation from https://l10n.gnome.org/module/nautilus/
Edit the section as detailed by Derek:
#. Translators: date and time in 24h format,
#. * i.e. "2023-12-31 23:59"
#: src/nautilus-date-utilities.c:83
#, no-c-format
msgid "%m/%d/%Y %H:%M"
msgstr "%Y-%m-%d %H:%M"
#. Translators: date and time in 12h format,
#. * i.e. "2023-12-31 11:59 PM"
#: src/nautilus-date-utilities.c:90
#, no-c-format
msgid "%m/%d/%Y %I:%M %p"
msgstr "%Y-%m-%d %I:%M %p"
msgfmt your-po-file.po -o nautilus.mosudo cp nautilus.mo /usr/share/locale/en/LC_MESSAGES/
If you already have nautilus.mo in your LC_MESSAGES directory then good idea to take a backup.
- Reboot.
Credits: kabushawarib (Khalid Abu Shawarib) and derek-shnosh (Derek)
- 161
- 1
- 7