Closed Bug 1563312 Opened 5 years ago Closed 5 years ago

Needinfo links at top of bug goes to #c0 rather than relevant comment

Categories

(bugzilla.mozilla.org :: User Interface, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dveditz, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

One nice feature of the BMO Modal UI was that Needinfos were presented at the top of the bug with the timestamp as a link that took you to the comment where the needinfo was added (or the closest previous comment if the needinfo flag was added separately). The timestamps are still links, but now they always go to the initial description #c0 rather than anything relevant.

I'm not sure this bug will be long enough to demonstrate the difference, but here's a needinfo.

Flags: needinfo?(kohei.yoshino)

Note the needinfo link uses the anchor #c0 when it should use #c1.

I see. Will keep this ni? and figure out why.

Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Attached file GitHub Pull Request

This is due to a wrong date comparison between %Y-%m-%d (hyphens) and %Y.%m.%d (dots). Use %Y-%m-%d intensively to solve the issue.

Flags: needinfo?(kohei.yoshino)

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Blocks: 1533754

Yay, thank you!

\o/

Assignee: kohei.yoshino → nobody
Component: User Interface: Modal → User Interface
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: