Bug 714349 (b2g-system-time)

[meta] System time

RESOLVED INCOMPLETE

Status

()

defect
RESOLVED INCOMPLETE
8 years ago
Last year

People

(Reporter: cjones, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

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: Last year
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.