TimeAndDatePickers
Ubuntu Touch should have a set of time and date picker controls.
Use cases
Setting the device time and date in System Settings
- Adding someone’s birthday to the address book, with or without a year
- fine-tuning the time and date of a Calendar event
- choosing a timer or countdown value in the Clock
Web use cases
HTML’s <input> element, and therefore the Ubuntu Phone browser, requires several controls for entering particular parts of a date and/or time.
Control |
type= |
Nullable |
Can have min/max |
Step precision |
Potential components |
datetime |
yes |
seconds |
year, month, date, hours, minutes, seconds, fraction, time zone offset |
||
datetime-local |
yes |
seconds |
|||
date |
yes |
days |
|||
month |
yes |
months |
|||
week |
yes |
weeks |
|||
time |
yes |
seconds |
What other platforms do
iOS date picker: “A date picker can have up to four independent wheels, each of which displays values in a single category, such as month or hour … The overall size of a date picker is fixed at the same size as the iPhone keyboard.”
Android date and time pickers: “Android provides these as ready-to-use dialogs.”
Windows: “Adding a DatePicker” and “Adding a TimePicker”