TimeAndDatePickers

Differences between revisions 2 and 3
Revision 2 as of 2013-07-05 11:15:14
Size: 3999
Editor: mpt
Comment: completes Web use cases
Revision 3 as of 2013-07-05 11:56:42
Size: 4064
Editor: mpt
Comment: adding a birthday not for the initial release
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * Setting the device time and date [[TimeAndDate|in System Settings]]  * Setting the device time and date [[TimeAndDate|in System Settings]].
Line 9: Line 9:
 * Adding someone’s birthday to the address book, with or without a year  * (not for the initial release) Adding someone’s birthday to the address book, with or without a year.
Line 11: Line 11:
 * fine-tuning the time and date of a Calendar event  * Fine-tuning the time and date of a Calendar event.
Line 13: Line 13:
 * choosing a timer or countdown value in the Clock  * The Clock app currently uses its own clock hands for setting a timer or countdown value.
Line 17: Line 17:
HTML’s `<input>` element, and therefore the Ubuntu Phone browser, requires [[http://developers.whatwg.org/the-input-element.html#attr-input-type|several controls]] for entering particular parts of a date and/or time. HTML’s `<input>` element, and therefore the Ubuntu Phone browser, requires controls for entering [[http://developers.whatwg.org/the-input-element.html#attr-input-type|particular parts of a date and/or time]]:

Ubuntu Touch should have a set of time and date picker controls.

Use cases

  • Setting the device time and date in System Settings.

    phone-time-date-settings.png

  • (not for the initial release) Adding someone’s birthday to the address book, with or without a year.
  • Fine-tuning the time and date of a Calendar event.
  • The Clock app currently uses its own clock hands for setting a timer or countdown value.

Web use cases

HTML’s <input> element, and therefore the Ubuntu Phone browser, requires controls for entering particular parts of a date and/or time:

Control

type=

Nullable

Can have min/max

Step precision

Potential components

global date and time

datetime

yes

yes

seconds

year, month, date, hours, minutes, seconds, fraction, time zone offset

local date and time

datetime-local

yes

yes

seconds

year, month, day, hours, minutes, seconds, fraction

date

date

yes

yes

days

year, month, day

month

month

yes

yes

months

year, month

week

week

yes

yes

weeks

year, week

time

time

yes

yes

seconds

hour, minutes, seconds, fraction

What other platforms do

TimeAndDatePickers (last edited 2013-11-13 14:46:11 by faun)