diff options
author | John Smith <mrdoctorwho@helldev.net> | 2018-12-30 18:43:01 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@helldev.net> | 2018-12-30 18:43:01 +0300 |
commit | a84c6f3d64a874dca61b414bb8502701bdd36099 (patch) | |
tree | 852b55f6f9a95500860c7aa5133539c9940624fa | |
parent | 715f5bd63c937252f60e3b71c99467c4f6343e94 (diff) |
fix birthdate formatting once againtesting
-rw-r--r-- | modules/mod_iq_vcard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_iq_vcard.py b/modules/mod_iq_vcard.py index 1c50a2c..16bab74 100644 --- a/modules/mod_iq_vcard.py +++ b/modules/mod_iq_vcard.py @@ -123,7 +123,7 @@ def buildVcard(data, template=VCARD_TEMPLATE, fields=VCARD_FIELDS, user=None): elif key == KEY_BDAY and value: if value.count(".") == 1: - value += time.strftime("%Y") + value += time.strftime(".%Y") value = time.strftime("%Y-%m-%d", time.strptime(value, "%d.%m.%Y")) vcard.setTagData(key, value) |