Closed Bug 1588751 Opened 5 years ago Closed 5 years ago

Birthday/-month no longer displayed when stored with leading zero in .mab file

Categories

(Thunderbird :: Address Book, defect)

defect
Not set
normal

Tracking

(thunderbird_esr6870+ fixed, thunderbird71 fixed)

RESOLVED FIXED
Thunderbird 71.0
Tracking Status
thunderbird_esr68 70+ fixed
thunderbird71 --- fixed

People

(Reporter: anba, Assigned: darktrojan)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Addressbook.png

Birthday/-month are no longer displayed in the address book editor when they're stored with leading zeros in the .mab file. They're still displayed correctly in the address book preview window. See the attached screen shot. This is a regression starting with Thunderbird 68, maybe due to bug 1527535?

Attached file abook-1.mab

Example address book to reproduce the error.

I think Geoff messed with those birthdays in that bug ;-)

Flags: needinfo?(geoff)

Okay, thanks for reporting this. It should be an easy fix.

Flags: needinfo?(geoff)
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9101406 - Flags: review?(mkmelin+mozilla)
Attachment #9101406 - Flags: approval-comm-esr68?
Attachment #9101406 - Flags: approval-comm-beta?
Target Milestone: --- → Thunderbird 71.0
Attachment #9101406 - Flags: review?(mkmelin+mozilla) → review+
Keywords: checkin-needed

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/bda10e8030ef
Correctly display contact birth date when stored with leading zeros. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Attachment #9101406 - Flags: approval-comm-esr68? → approval-comm-esr68+
Comment on attachment 9101406 [details] [diff] [review]
1588751-birth-date-zero.diff

Missed TB 70 beta 4.
Attachment #9101406 - Flags: approval-comm-beta?

Verified the birthday dates are again correctly displayed in 68.2.0 ESR. Thanks for the quick fix! \o/

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: