Fix display of a contact's birthday

Fixes #2503
pull/17/head
Francis Lachapelle 2014-02-18 10:13:34 -05:00
parent 668c7e8b49
commit 212d7149ed
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -46,6 +46,7 @@ Bug fixes
- fixed HTML formatting of appointment notifications for Outlook (#2233)
- replace slashes by dashes in filenames of attachments to avoid a 404 return code (#2537)
- avoid over-using LDAP connections when decomposing groups
- fixed display of a contact's birthday when not defined (#2503)
2.1.1b (2013-12-04)
-------------------

View File

@ -776,7 +776,7 @@ convention:
bday = [self bday];
date = nil;
if (bday)
if ([bday length] > 0)
{
// Expected format of BDAY is YYYY[-]MM[-]DD
value = [bday stringByReplacingString: @"-" withString: @""];