Closed Bug 1301302 Opened 9 years ago Closed 25 days ago

Add l10n support for picker for <input type="time">

Categories

(Toolkit :: UI Widgets, defect, P5)

defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox154 --- fixed

People

(Reporter: scottwu, Assigned: sam)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

AM/PM string, warning message, and position of hour/minute/ampm should display correctly based on users' locale.
This should come from Intl.getDisplayNames
As per the latest planning together with PM and the team, we're not going to have time picker UI. Bug 1315911 had landed on pref-off the pop-up.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
:wesley_huang - I understand the repriotization, but why does it result in resolved/wontfix?
Flags: needinfo?(whuang)
Likely in the short term we're not going to spend efforts on the time picker UI. But it's ok to leave it open (for future tracking purpose) so I'm making it reopened.
Status: RESOLVED → REOPENED
Flags: needinfo?(whuang)
Resolution: WONTFIX → ---
Priority: -- → P5

The bug assignee didn't login in Bugzilla in the last 7 months.
:mstriemer, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: scottcwwu → nobody
Flags: needinfo?(mstriemer)
Flags: needinfo?(mstriemer)
Severity: normal → S3

Updates the time input picker to add time components in the correct order and with the correct display strings for the current locale.

Assignee: nobody → sam
Status: REOPENED → RESOLVED
Closed: 9 years ago25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

@pierov Does this require spoof_english handling? (set dom.forms.datetime.timepicker to true) - edit: test here https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/time#try_it

Flags: needinfo?(pierov)

As far as I can tell, this is already handled by using Services.locale.webExposedLocales to define locale: https://searchfox.org/firefox-main/rev/c280a3de79038960073359b0b4777c676320b76a/toolkit/modules/DateTimePickerPanel.sys.mjs#72.

Flags: needinfo?(pierov)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: