diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-02 18:01:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-02 18:01:31 +0200 |
commit | 41a918ed1b679b23c91ff22edac3044a10163fb3 (patch) | |
tree | aaf5d2c277de71de05afda03c8ac6a93b98fcab2 /libcontacts_format_contact.c | |
parent | Add block info (diff) | |
download | libcontacts-41a918ed1b679b23c91ff22edac3044a10163fb3.tar.gz libcontacts-41a918ed1b679b23c91ff22edac3044a10163fb3.tar.bz2 libcontacts-41a918ed1b679b23c91ff22edac3044a10163fb3.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libcontacts_format_contact.c')
-rw-r--r-- | libcontacts_format_contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontacts_format_contact.c b/libcontacts_format_contact.c index 8be830e..9a20fcf 100644 --- a/libcontacts_format_contact.c +++ b/libcontacts_format_contact.c @@ -191,7 +191,7 @@ libcontacts_format_contact(const struct libcontacts_contact *contact, char **dat } else if (contact->birthday->year) { fprintf(fp, "BIRTH %04i\n", contact->birthday->year); } else if (contact->birthday->day) { - fprintf(fp, "BIRTH %02i-%02\n", contact->birthday->month, contact->birthday->day); + fprintf(fp, "BIRTH %02i-%02i\n", contact->birthday->month, contact->birthday->day); } else if (contact->birthday->month) { fprintf(fp, "BIRTH %02i\n", contact->birthday->month); } |