Closed
Bug 1687910
Opened 4 years ago
Closed 4 years ago
Year is formatted as a number in CFR MILESTONE_MESSAGE
Categories
(Firefox :: Messaging System, defect, P1)
Firefox
Messaging System
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: flod, Assigned: emcminn)
Details
Attachments
(2 files)
This is the current translation for zh-CN, but the problem happens also on zh-TW where it was originally reported.
自{ $date }起,{ -brand-short-name } 已拦截超过 <b>{ $blockedCount }</b> 个跟踪器!
The code is here.
Trying out with a zh-CN build, the language seems correct ("zh-CN"), and formatting is correct too (2020年1月
for dateFormat(new Date("2020-01-20"))
), so something happens when the value is passed over to Fluent.
Reporter | ||
Comment 1•4 years ago
|
||
I have the feeling the problem is in this code. And just to confirm. monthName
is correct after formatting with zh-CN
.
Comment 2•4 years ago
|
||
Thanks for debugging. The fix here should be moving the date formatting into Fluent.
Updated•4 years ago
|
Assignee: nobody → emcminn
Iteration: --- → 87.1 - Jan 25 - Feb 7
Priority: -- → P1
Assignee | ||
Comment 3•4 years ago
|
||
Pushed by emcminn@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3eaef8a1114d
Move date calculation to Fluent for Milestone CFR r=andreio,fluent-reviewers
Comment 5•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•