[sdk] Time Picker component does not respect user locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Fix Committed
|
Medium
|
Pierre Bertet | ||
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Medium
|
Cris Dywan |
Bug Description
In the new clock app we are using the Date Picker component to allow the user to choose a time. Hence the mode used was "Hours|Minutes". However the Date Picker seems to always display the time in 24 hour instead of using the user's locale. So whereever 12-hour time format is required, the time picker ignores that.
The code below shows the usage in the clock app.
DatePicker {
id: _timePicker
anchors {
}
clip: true
mode: "Hours|Minutes"
}
-- Design solution --
https:/
summary: |
- Time Picker component does not respect user locale + [sdk] Time Picker component does not respect user locale |
Changed in ubuntu-ux: | |
assignee: | nobody → Giorgio Venturi (giorgio-venturi) |
status: | New → Triaged |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Confirmed |
tags: | added: clock-app |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
no longer affects: | ubuntu-ui-toolkit (Ubuntu) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | ubuntu-ui-toolkit |
Changed in ubuntu-ux: | |
importance: | Undecided → Medium |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ux: | |
assignee: | Giorgio Venturi (giorgio-venturi) → Olga Kemmet (olga-kemmet) |
Changed in ubuntu-ux: | |
assignee: | Olga Kemmet (olga-kemmet) → Pierre Bertet (bpierre) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | Zsombor Egri (zsombi) → Christian Dywan (kalikiana) |
This is very annoying in a 12h locale.