-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set birthday year to 1970 if no year, take X-APPLE-OMIT-YEAR into account #11832
Conversation
@georgehrke ok, so what happens, if someone is born in 1970? also, a date w/o a year is specified as |
@tessus someone born in 1970 will simply by shown as „Name (*1970)“ Parsing of --MMDD should be taken care of by Please note that all the dates you can see in the code are iCalendar dates, not vCard dates. |
Ah, I see. Thanks a lot for the explanation. |
163c40c
to
b3ae314
Compare
@georgehrke can I test this? Then I'll give it a try with the Samsung S9 tomorrow. |
b3ae314
to
ecce3f3
Compare
@tobiasKaminsky Yes please :) |
I tested adding a new contact on Samsung S9+, once with stable14 and once with this PR: set birthday to 14.10. without a year. Both time, I see "1604-10-14" as date in contacts app: 👍 But on calendar of Samsung S9, I do not see any birthday entry. This is what I get when exporting the contacts in question via contacts app on NC14.
|
@georgehrke What about this? Is this ready by tomorrow evening? |
No, i think i need a hands-on with an android device for this. Really running out of ideas. |
Unfortunately I cannot bring the device to hackweek :/ |
I guess this is nothing that is ready for backport by tomorrow, right? |
ecce3f3
to
3c0ba15
Compare
👍 works for Samsung :-) |
|
@nickvergessen Do we create mysql database with 4 byte support by default now? |
Yes. |
@georgehrke Ready to review, right? |
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
3c0ba15
to
3acde07
Compare
added the migration step. Please test |
Hm. For some reason this is not working anymore:
I am now unsure if this was working with the first version of this PR. This is what I see as calendar entry:
Shouldn't there be something like 1970? Apple omit year? |
So this is what I get when I create a contact "Georg" with birthday set to 18. February:
This is the calendar entry:
And this is not shown in Business Calendar 2 nor in Samsung's Calendar. For reference this is a contact T1 with birthday set to 18.02.2018:
And this is the corresponding calendar entry:
This is shown in "contacts birthday" calendar synced via DavX5, both in Samsung's calendar app and Business Calendar 2. |
The big question is now why does DavX5 (or whatever) not sync/parse the birthday event in such a way that it is shown in Business Calendar 2 / Samsung's Calendar. On DavX5 I set to sync all calendar events and not only latest 90 days, but still no success. |
Yehaaa. |
Can we backport this also to 15? ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works 👍
/backport to stable15 |
The backport to stable15 failed. Please do this backport manually. |
Let's then not do the backport. |
fixes #9849