[Bug 282169] New: JJ: exported BDAY VCard field is too precise
Tristan Miller
psychonaut at nothingisreal.com
Fri Sep 16 21:59:17 BST 2011
https://bugs.kde.org/show_bug.cgi?id=282169
Summary: JJ: exported BDAY VCard field is too precise
Product: kaddressbook
Version: unspecified
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdepim-bugs at kde.org
ReportedBy: psychonaut at nothingisreal.com
CC: tokoe at kde.org
Version: unspecified (using KDE 4.6.0)
OS: Linux
The "Personal" tab of the "Edit/New contact" dialog has a "Birthdate" field
which allows one to enter a year, month, and day date. However, when the
contact is exported as a VCard, an arbitrary (and therefore probably incorrect)
time of day is appended. Example:
BDAY:1958-01-20T00:00:00Z
Since the user did not specify the time of day for the birth, this value is
almost certainly incorrect. RFC 2426 <http://www.ietf.org/rfc/rfc2426.txt>
states that the BDAY field can omit the time if it is unknown or not desired.
Example:
BDAY:1958-01-20
Since almost nobody knows or cares about indicating the time of birth in their
VCards, the simplest way to fix this bug is to simply have kaddressbook omit
the superfluous "T00:00:00Z" when exporting a contact.
Reproducible: Always
Steps to Reproduce:
1. Create a new or edit and exist contact and add a birthdate.
2. Select the contact.
3. File->Export->Export vCard 3.0…
4. Enter a filename and save
Actual Results:
5. The file contains a BDAY field which is too precise
Expected Results:
5. The file should contain a BDAY field which specifies only the year, month,
and day.
This was previously reported for kab3 as Bug 118289. It still exists with the
new KDE 4 address book.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list