Closed Bug 714349 (b2g-system-time) Opened 13 years ago Closed 6 years ago

[meta] System time

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: cjones, Unassigned)

References

Details

There are several pieces here.  The use cases are
 - Gecko controls the system time on gonk.  It needs the ability to set it.
 - On devices where network-provided time is available, gecko should use it.
 - The user should have the option of overriding automatically-managed time with their own settings.
 - Time-sensitive apps (e.g. a clock) need a notification when time has changed.

Here's the current plan

 (1) On OS's where gecko controls the time, privileged APIs to manage time
   a) Setting to use network provided time/timezone (NITZ or NTP where available)
   b) Setting for manually-set datetime
   c) API to enumerate available pre-configured timezones ("US/Los_Angeles", e.g.)
   d) Setting for manually-set timezone

 (2) Everywhere: unprivileged notification that time has changed

We could support (1) on all platforms by maintaining a "gecko view" of time, but I don't think that's useful.
Alias: b2g-system-time
No longer depends on: 791962
Depends on: 926823
FxOS has been removed. Closing.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.