Closed Bug 1584196 Opened 6 years ago Closed 6 years ago

Long time format should be used

Categories

(Thunderbird :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugs.sugs, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.59 Safari/537.36 Vivaldi/2.7.1609.4

Actual results:

v68.1.0 is using short time format (e.g. HH:mm).
Seen in message list, message headers, Activity Manager, and Lightning.

Expected results:

v60 uses long time format (e.g. HH:mm:ss).

(In reply to BS from comment #0)

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.59 Safari/537.36 Vivaldi/2.7.1609.4

Actual results:

v68.1.0 is using short time format (e.g. HH:mm).
Seen in message list, message headers, Activity Manager, and Lightning.

Expected results:

v60 uses long time format (e.g. HH:mm:ss).

I don't see a long time format in my TB 60.9.0 on Ubuntu 18.04.3 LTS Linux.

Do you have an extension installed that provides the long time format, or is there a setting in Thunderbird that provides it? I can't find one in my 60.8.0 or 68.1.1.

Flags: needinfo?(bugs.sugs)

I don't think TB 60.x ever used a long time format including seconds. Wasting screen space displaying seconds doesn't make sense.

Oh I was wrong.
The only(?) difference is in Activity Manager:

v60 uses long format.
See the two images in 1569218.

v68 uses short format.
See below.
Yes it's short format. I just changed the OS setting for Short Time Format to "HH:mm,ss".
And it's interesting that "HH:mm,ss" does not affect where "real" short format is used, e.g. Windows Explorer never shows ",ss".
Not only "," can be used.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(bugs.sugs)
Resolution: --- → WORKSFORME

Well, I really don't understand where the seconds come from. We converted an "old" formatting function to a "new" one here:
https://hg.mozilla.org/comm-central/rev/a78c4ac9f53cbb73b6dede90c3a5bb8f80e267af#l1.14
It had timeFormatNoSeconds and that was translated to timeStyle: "short".

So I can't see where the seconds came from. Digging into TB 52 I see:
https://dxr.mozilla.org/comm-esr52/source/mail/components/activity/content/activity.xml#292

I even ran TB 52 on Windows and saw 20:02 just now. No seconds.

I looked into the Registry hive on my old disk:

HKEY_CURRENT_USER\Control Panel\International
sShortTime = HH:mm:ss

That was why my v60 showed ":ss" !

Very sorry about that, Jorg, and everyone.
Believe me it was my cat's fault...

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: