Closed
Bug 975815
Opened 10 years ago
Closed 6 years ago
default gaia timezone is overwritten by settings date & time/FTU
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:-, b2g-v1.4 affected, b2g-v2.0 affected, b2g-v2.0M affected, b2g-v2.1 affected, b2g-v2.1S affected, b2g-v2.2 affected, b2g-master affected)
People
(Reporter: nhirata, Unassigned, NeedInfo)
References
Details
1. change settings.json to have the timezone of Europe/Amsterdam 2. reboot the phone and verify the change by typing: adb shell getprop persist.sys.timezone 3. go to settings -> date & time or launch ftu 4. check timezone via adb shell getprop persist.sys.timezone Expected: Europe/Amsterdam Actual: America/New_York Note: 1. affects MWC demo; most people won't hit this path as they normally set time/date through ftu first.
Reporter | ||
Comment 1•9 years ago
|
||
I filed a bug under the flash tool to see if there's any way we could rework this: https://github.com/Mozilla-TWQA/B2G-flash-tool/issues/322 Having said that, if you try to set the timezone via the setprop: adb shell setprop persist.sys.timezone $TIMEZONE it will get overwritten when you go to settings, as the default value is America/New York: http://mxr.mozilla.org/gaia/source/shared/js/tz_select.js#41 I think this is one of the reasons why we see weirdness with the wrong time.
Reporter | ||
Updated•9 years ago
|
blocking-b2g: --- → 2.2?
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → affected
status-b2g-v2.0M:
--- → affected
status-b2g-v2.1:
--- → affected
status-b2g-v2.1S:
--- → affected
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → affected
Comment 2•9 years ago
|
||
Triage: not a shipping blocker. Arthur may provide suggestion on this.
blocking-b2g: 2.2? → -
Flags: needinfo?(arthur.chen)
Comment 3•9 years ago
|
||
Naoki, could you try to include the "time.timezone.user-selected" field with the timezone you want in settings.json?
Flags: needinfo?(arthur.chen)
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(nhirata.bugzilla)
Reporter | ||
Comment 4•9 years ago
|
||
What value do I put in here? "Los_Angeles"? I looked at the shared/resources/tz.json I tried that value and it still defaults to New York.
Flags: needinfo?(nhirata.bugzilla) → needinfo?(crh0716)
Reporter | ||
Updated•9 years ago
|
Flags: needinfo?(jlorenzo)
Updated•9 years ago
|
Flags: needinfo?(jlorenzo)
Updated•9 years ago
|
Blocks: b2g-timezone
Comment 5•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•