pimutils / pimutils/khal

Handling partial birthdays from vcf files

Open
#650 9 comments 0 reactions 1 assignee View on GitHub

@geier is already working on this.

Since Apr 10, 2019.

type: 3rd party compatibility
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

I have a bunch of contacts that I have birthdays stored for without their birth-year attached in my iCloud account. Apparently the way that Apple handles this is by exporting the VCF as the following:

BDAY;X-APPLE-OMIT-YEAR=1604:1604-05-09

This works fine in Apple's software, but not so much when attaching this to khal, as it will display their birth-year as 1604 (and thus, such contacts will be display as having their 413th birthday this year). I assume that Apple does this as a work-around to the official spec, and that there is no proper way to handle a date without a year attached to it. Since khal supports search a directory of .vcf files to get the birth date for each contact, is there a way to just have it display as "Jane Smith's Birthday" rather than "Jane Smith's 413th Birthday"?

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.