We have moved to a new Sailfish OS Forum. Please start new discussions there.
44

Allow 'Unknown' birth year for contacts in calendar

asked 2014-03-28 00:46:58 +0200

updated 2014-10-06 21:35:25 +0200

It would be nice to have an 'Unknown' option when selecting the year of birth for a person.

I have several contacts for whom I only know their birth days and months, but not the year. At the moment, I just select the current year in these situations, but this option would be useful if the age will be displayed as well in a future update.

Edit on 6 Oct 2014 Still looking forward to seeing this update :)

edit retag flag offensive close delete

Comments

2

Empty year is not valid in the vCard 3.0 spec https://tools.ietf.org/html/rfc2426#section-3.1.5

Tanghus ( 2014-03-31 07:53:51 +0200 )edit
6

That RCF is obsoleted by rfc6350, which allows empty year https://tools.ietf.org/html/rfc6350#section-6.2.5

Examples:

         BDAY:19960415
         BDAY:--0415
Mohjive ( 2014-03-31 10:13:16 +0200 )edit
3

Yes, but CardDAV relies on vCard 3.0 and very few clients support vCard 4.0 https://github.com/owncloud/contacts/issues/115#issuecomment-18683793

Tanghus ( 2014-03-31 10:37:33 +0200 )edit
1

Since Jolla is a client, the above issue isn't applicable.

The CardDAV rfc6352 says that a CardDAV server MUST support vCard3, but also states it SHOULD support vCard4, and implementing vCard4 in Jolla should be possible. From the CardDAV rfc:

An update to vCard -- vCard v4 -- is currently being developed [RFC6350] and is compatible with this specification.

Maybe with a vCard3 fallback and conversion if the server doesn't support vCard4, even if I don't think that is necessary.

Mohjive ( 2014-03-31 11:07:33 +0200 )edit
2

Yeah, you're right there. I ought to take the time and port to Sabre VObject 3 as it has better support for conversion between versions. I've just monkey-patched the 2.x version I use so much to get around it's quirks, that it's going to be a hassle :P

Tanghus ( 2014-03-31 11:52:15 +0200 )edit

1 Answer

Sort by » oldest newest most voted
6

answered 2018-02-01 15:00:25 +0200

roland684 gravatar image

Almost 4 years later we're still waiting for this.

If the problem is vcard3 making a year mandatory, couldn't the software simply use some ludicrous year to denote 'unknown'? like 0000. In the UI it could be translated to 'unknown'. I don't have anyone over 150 years old in my contact list so it won't lead to conflicts.

edit flag offensive delete publish link more

Comments

5

I've created a MER bug for this. It can also be discussed during the next *DAV IRC meeting or become a community contribution.

Damien Caliste ( 2018-02-01 15:27:44 +0200 )edit

Thanks Damien, you're the best.

nthn ( 2018-02-02 16:22:20 +0200 )edit
Login/Signup to Answer

Question tools

Follow
6 followers

Stats

Asked: 2014-03-28 00:46:58 +0200

Seen: 591 times

Last updated: Feb 01 '18