Closed
Bug 1206306
Opened 9 years ago
Closed 9 years ago
Migrate remaining mozL10n.DateTimeFormat's in Communications to Intl API
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zbraniecki, Assigned: zbraniecki)
References
Details
Attachments
(1 file)
We still have a few uses of mozL10n.DateTimeFormat in Communications code that should use Intl API.
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Component: Gaia → Gaia::Contacts
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8663216 [details]
[gaia] zbraniecki:1206306-migrate-communications-to-intl-api > mozilla-b2g:master
Borja, can you review this pls?
Attachment #8663216 -
Flags: review?(borja.bugzilla)
Comment 3•9 years ago
|
||
Comment on attachment 8663216 [details]
[gaia] zbraniecki:1206306-migrate-communications-to-intl-api > mozilla-b2g:master
Forwarding this to Francisco due to I'll be on PTO the following days. Thanks!
Attachment #8663216 -
Flags: review?(borja.bugzilla) → review?(francisco)
Comment 4•9 years ago
|
||
Comment on attachment 8663216 [details]
[gaia] zbraniecki:1206306-migrate-communications-to-intl-api > mozilla-b2g:master
This need also review from a dialer peer
Flags: needinfo?(drs)
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8663216 [details]
[gaia] zbraniecki:1206306-migrate-communications-to-intl-api > mozilla-b2g:master
sure :)
Attachment #8663216 -
Flags: review?(drs)
Comment 6•9 years ago
|
||
Comment on attachment 8663216 [details]
[gaia] zbraniecki:1206306-migrate-communications-to-intl-api > mozilla-b2g:master
Looks good. I reviewed both the Dialer and Contacts parts, but I'm only qualified to review the Dialer parts. I left one nit in the Contacts section.
Flags: needinfo?(drs)
Attachment #8663216 -
Flags: review?(drs) → review+
Updated•9 years ago
|
Assignee: nobody → gandalf
Comment 7•9 years ago
|
||
Comment on attachment 8663216 [details]
[gaia] zbraniecki:1206306-migrate-communications-to-intl-api > mozilla-b2g:master
Contacts part lgtm.
Please fix the unit test errors before landing.
Attachment #8663216 -
Flags: review?(francisco) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Ok. I fixed the tests. The reason they didn't work was because of timezones. I forced time comparisons to be in UTC and string comparisons to be local to the timezone in which the tests are run.
It, as a side effect, fixed a bug which prevented people in US timezones from completing facebook connector tests :)
Assignee | ||
Comment 9•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 10•9 years ago
|
||
Cherry-picked to nga branch:
https://github.com/mozilla-b2g/gaia/commit/2725b5a06cbd8a7d5c881085f54546f854d54af6
You need to log in
before you can comment on or make changes to this bug.
Description
•