Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change the format of the "Date"-column in the message list in Thunderbird.

For mails from today, I want to display only the time, not the date.
For mails from before today, I want to display only the date, not the time.

This is the same setup mutt uses. I know of the Date display format wiki article, which describes how to change the date format, but you can only switch between five predefined formats, and none of them is "Date only".

I also know of the ConfigDate extension, but it's got the same limitations, you can't define a new date format.

share|improve this question
up vote 2 down vote accepted

Assuming I'm reading the source code correctly, this isn't currently possible. The date format is configurable, and can be turned off altogether as noted in the wiki article you referenced, but the time is always shown according to the computer's locale (without seconds).

If you're up for fiddling with the source code, look at the end of the FetchDate function in mailnews/base/src/nsMsgDBView.cpp. You'll need to change kTimeFormatNoSeconds to something else (see the Date and Time Formatting functions page for details).

share|improve this answer

Update. There is another addon: Super Date Format.

  1. Install Super Date Format addon
  2. Go to Preferences
  3. Go to Date Format
  4. Insert %Y.%m.%d %H:%M into Date Format
  5. Go to Date Format Preferences
  6. Check Enable on Date column
  7. Check Enable on Received column
  8. Restart Thunderbird

Now all messages can by sorted by date no matter how old. The new format only cosists of numbers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.