I have ubuntu 10.04 running Thunderbird 14.0
How do I change the date format to international standard? (eg; 2012-07-26)
My system date already shows this format.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
I know of 4 ways to alter TB's date. Take your pick ;) (you just need 1)
Quick Locale Switcher add-on for TB. Might be the easiest one.
Mozilla's official documentation in changing date formats.
In Thunderbird, choose Tools –> Options –> Advanced –> General > Config Editor
mail.ui.display.dateformat.today mail.ui.display.dateformat.thisweek mail.ui.display.dateformat.default
V Meaning Example date and time 0 No date 10:23 AM 1 Your system's long* date format Friday, December 31 2003 10:23 AM 2 Your system's short* date format 12/31/1999 10:23 AM 3 Year and month, separated by a slash 1999/12 10:23 AM 4 Abbreviated day name Fri 10:23 AM
Change the startup command to
export LC_TIME=en_GB.UTF-8 && thunderbird %u
(Dash Main Menu > Internet > Thunderbird > Properties)
en_GB.UTF-8 to what you need
Change your custom locale (
/usr/share/i18n/locales) as explained on ubuntuforums.org.
Does depend on what you want to achieve - in Ubuntu 12.04 I got stuck with US locale settings (mm/dd/yyyy), wanted to switch to UK (dd/mm/yyyy), and couldn't find any tips.
Then I stumbled on system settings-> language support -> regional formats tab, change to English (United Kingdom). Easy!
Hope this helps someone
Unfortunately those answers don't show you how to set the date to YYYY-MM-DD format.
If you follow these instructions, setting the LC_TIME variable to en_DK.utf8 (I'd advise putting it in a script that calls Thunderbird) it will show YYYY-MM-DD HH:MM in the message view and give you the option of using YYYY-MM-DD in the calendar as the 'short' format.
The fastest, very reliable and solid way to change the date, is to download the Super Date Format addon.
Go to Menu > Add-ons, then in Add-ons manager select the Extensions tab and search for Super Date Format add-on on (on the upper right).
When you download and install it, go to Super Date Format preferences (Display > Date Format) and customize the format.
You are going to have a format like this:
/%Y-/%m-/%e %H:%M %p
/%Yis the full year
/%mis the month
/%eis the number day
It may seem difficult but the whole configuration is super-easy when you open the configuration tab, because it explains everything you need to know.
This works on Ubuntu 16.04 LTS and the Thunderbird 54.* but is not limited to this version only.
It also works on Ubuntu 18.04 LTS with Thunderbird v52.9.1. There may be warnings that the extension is not compatible but you can ignore them.
YYYY-MM-DD HH:MMdate format in Thunderbird 60
sudo ln -s /usr/share/i18n/locales/en_DK /usr/share/i18n/locales/root echo 'root.UTF-8 UTF-8' | sudo tee -a /etc/locale.gen sudo locale-gen LC_TIME=root.UTF-8 thunderbird
LC_TIME=en_DK.UTF-8 thunderbirdno longer gives this date format
Thunderbird and Firefox now use CLDR (Unicode Common Locale Data Repository), which does not have the ISO 8601 date format in en_DK.