Closed Bug 1178259 Opened 9 years ago Closed 7 years ago

Changing the time zone then enabling "set time automatically" modifies the time to an incorrect value

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: jlorenzo, Unassigned)

References

Details

Attachments

(1 file)

Prerequisites Have a SIM card STR 1. In settings -> date/time, disable "set automatically". Note: I was in the Europe/Paris time zone. 2. Change the time zone to one in behind the one you're in (here, I took America/Vancouver) 3. Re-enable "set automatically". Results The time is set to an hour back America/Vancouver, instead of being back to the one in step 1. You can wait as much time as you want, the correct time gets never set. See video for details: https://goo.gl/Vb25q2 Notes: In the attached logcat (not taken at the same time as the video), it seems like this error happens each time: > 06-29 04:55:58.169 211 625 I Gecko : RIL Worker: [0] Handling parcel as UNSOLICITED_SIGNAL_STRENGTH However, I don't see why, once the right timezone is detected (as you can see on the video), the time is not correctly set. That's why I think we have an issue within Gaia. Build info Reproduced on master[1] (Flame and Aries) and 2.2[2] [1] Build ID 20150628160206 Gaia Revision 8a1e4ae522c121c5cacd39b20a5386ec9055db82 Gaia Date 2015-06-25 21:58:25 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/eaf4f9b45117 Gecko Version 41.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150628.193057 Firmware Date Sun Jun 28 19:31:08 EDT 2015 Bootloader L1TC000118D0 [2] Build ID 20150628002505 Gaia Revision 0179935627012dfde3ca036c9a71035be463b7ad Gaia Date 2015-06-26 21:13:44 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/35e09270da3a Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150628.035537 Firmware Date Sun Jun 28 03:55:48 EDT 2015 Bootloader L1TC000118D0
Based on the 3GPP specs about NITZ[1], there is no way a device can ask for the right time zone on demand. Then, we'd need a way to compensate the change until the device switches to another antenna. In any case, we can't keep modifying to a incorrect time [1] http://www.etsi.org/deliver/etsi_TS/122000_122099/122042/10.00.00_60/ts_122042v100000p.pdf
Summary: Changing the time zone then enabling "set time automatically" gives an incorrect time → Changing the time zone then enabling "set time automatically" modifies the time to an incorrect
Summary: Changing the time zone then enabling "set time automatically" modifies the time to an incorrect → Changing the time zone then enabling "set time automatically" modifies the time to an incorrect value
See Also: → 1208807
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: