Re: Thunderbird date format
> I'm working on an extension that uses the received date displayed in
> thunderbird in the message window. On my machine it comes up formatted
> as dd/mm/yyyy for mail more than a day old. For todays mail only the tim
> e is shown as hh:mm Can anyone tell me if they see the date in a
> different format.
On Linux, the date format is a function od the LC_TIME environment variable.
On Windows, it depends on the "country settings for date & time" (or whatever
they are called). In addition, how Thunderbird displays the time in the
message list pane also depends on some about:config settings (see below). I
intentionally set LC_TIME to en_GB in Thunderbird (rather than my system
default fr_BE), in order to get the following:
mail sent today:
mail sent in the week ending yesterday:
The latter means 13-Aug-2007 slightly less than half an hour before midnight.
All times are resolved to my time zone, and summer time is taken into account.
Here are the relevant about:config entries with the values I use
mail.ui.display.dateformat.default user set integer 2
mail.ui.display.dateformat.thisweek user set integer 4
mail.ui.display.dateformat.today user set integer 0
The valid values for these prefs are as follows:
0 = time only, no date
1 = long date for locale
2 = short date for locale
3 = year and month, no day-of-month
4 = abbreviated day-of-week name
see [url]http://kb.mozillazine.org/Date_display_format[/url] ; however, unlike what the
article says, it is more convenient (in Tb 1.5 and later) to use the "Config
Editor" (accessed from the Advanced tab of the Preferences) rather than the
user.js file. Also, the Config Editor does not require restart.
The very ink with which all history is written is merely fluid
-- Mark Twain