为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

SOLVED: Thunderbird 60.7 doesn't show relative dates anymore

more options

Apologies if this was covered somewhere else, but I've tried to search for the answer, and I can't find any.

I recently upgraded my OS, and I'm now using Thunderbird 60.7.0 on Ubuntu 18.04 LTS. Before I upgraded, Thunderbird would show dates (for example, in the date column for emails) for dates that were yesterday in a format something like "Yesterday, 11:37 AM". (I'm not sure what version this was, but it could have been very old.)

But now, Thunderbird just shows the regular date (like "6/17/19, 11:37 AM"). Is there a setting I need to adjust to show relative dates?

Apologies if this was covered somewhere else, but I've tried to search for the answer, and I can't find any. I recently upgraded my OS, and I'm now using Thunderbird 60.7.0 on Ubuntu 18.04 LTS. Before I upgraded, Thunderbird would show dates (for example, in the date column for emails) for dates that were yesterday in a format something like "Yesterday, 11:37 AM". (I'm not sure what version this was, but it could have been very old.) But now, Thunderbird just shows the regular date (like "6/17/19, 11:37 AM"). Is there a setting I need to adjust to show relative dates?

由FlyingSaucrDude于修改

所有回复 (6)

more options

The only way I know to show mail received 'Yesterday' is to select View/Sort by/Date and Grouped By Sort.

more options

sfhowes said

The only way I know to show mail received 'Yesterday' is to select View/Sort by/Date and Grouped By Sort.

I appreciate the suggestion, but that's not what I'm asking for. I'm trying to figure out why the behavior of the text displayed in the date column changed.

more options

TB generally applies the date format set in the operating system, although there are some Config. editor options. In the case of Linux, the change you see may be due to the changes made by the maker of the distribution, and not present in the version of TB provided on thunderbird.net.

http://kb.mozillazine.org/Date_display_format

more options

Do you know how Thunderbird gets that date format from the OS? Because AFAICT, Thunderbird isn't using any date format provided by my OS.

In particular, on Linux (or Ubuntu, at least--I probably shouldn't speak for all distros) running 'locale -k LC_TIME' on the command line lists all the date and time formats provided by the OS. On my machine, that gives:

abday="Sun;Mon;Tue;Wed;Thu;Fri;Sat" day="Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday" abmon="Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec" mon="January;February;March;April;May;June;July;August;September;October;November;December" am_pm="AM;PM" d_t_fmt="%a %d %b %Y %r %Z" d_fmt="%m/%d/%Y" t_fmt="%r" t_fmt_ampm="%I:%M:%S %p" era= era_year="" era_d_fmt="" alt_digits= era_d_t_fmt="" era_t_fmt="" time-era-num-entries=0 time-era-entries="S" week-ndays=7 week-1stday=19971130 week-1stweek=1 first_weekday=1 first_workday=2 cal_direction=1 timezone="" date_fmt="%a %b %e %H:%M:%S %Z %Y" time-codeset="UTF-8" alt_mon="January;February;March;April;May;June;July;August;September;October;November;December" ab_alt_mon="Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec"

However, in Thunderbird dates are currently presented as, e.g., "6/18/19, 9:36 AM". That doesn't match any of the formats listed above. (Even Thunderbird constructing its own combinations isn't a valid explanation, since none of those formats contain the field specifier for a two-digit year, "%y".)

more options

Not being a Linux user, I can't say for sure how TB gets the date format. There is an option in Edit/Preferences/Advanced/General to switch from app locale to the regional locale, and other suggestions in the mozillazine article.

See also: https://ubuntuforums.org/showthread.php?t=1670601&p=10417603#post10417603

more options

I ended up writing my own extension to do this--you can find it at https://addons.thunderbird.net/en-US/thunderbird/addon/enhanced-date-formatter/