Closed
Bug 1217305
Opened 9 years ago
Closed 7 years ago
Some city names in tz.json do not match system tzdata
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: freesamael, Unassigned)
References
Details
Attachments
(1 file)
8.58 KB,
text/plain
|
Details |
When user picks a timezone in Settings, gaia composes the timezone name with region/city defined in tz.json [1]. The system (gonk), however, inherently relay on /system/usr/share/zoneinfo/tzdata from AOSP [2]. Hence the composed timezone name has to match one defined in tzdata, otherwise the timezone is not recognized and will fall back to UTC time. Some examples are "São_Tomé", "N'djamena", "Chișinău", etc. I've extract the name list of B2G kitkat (which actually comes from IANA tzdata2013h [3]). We should verify tz.json to ensure it matches the names used in tzname-names.txt I attached. [1] https://github.com/mozilla-b2g/gaia/blob/master/shared/resources/tz.json [2] http://androidxref.com/5.1.1_r6/xref/bionic/libc/zoneinfo/tzdata (binary) [3] ftp://ftp.iana.org/tz/releases/tzcode2013h.tar.gz
Reporter | ||
Updated•9 years ago
|
Blocks: b2g-timezone
Comment 1•9 years ago
|
||
:tedders said he's planning to switch us over to use ICU timezones, but I can't find the bug in which he said that. Ted, what's you plan here?
Flags: needinfo?(tclancy)
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Zibi Braniecki [:gandalf][:zibi] from comment #1) > :tedders said he's planning to switch us over to use ICU timezones, but I > can't find the bug in which he said that. > > Ted, what's you plan here? I believe you're referring bug 1201254. I've taken a quick look, the Olson timezone name mapping inside the file looks good.
Updated•7 years ago
|
Flags: needinfo?(ted.clancy)
Updated•7 years ago
|
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.
Description
•