> when I create an all-day appointment then the end date is set to yesterday.
This does not happen on my device. Could you post the relevant profile and task exported descriptions?
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).
> What catches my eye is that all calendars in the dropdown list are prefixed with "Google:" regardless of whether the calendars are in my Google account or in the OC account. The affected calendar is an OC calendar shared to me by an account named "firma", therefore this doubled name "Firma(firma)". Maybe this is of interest somehow.
Not sure if that is a issue or not.
Does this happen on all the calendars?
> It happens with Google calendar too, but it's rather difficult to recognize there. Google colors the end date with slight red background and shows the correct end date instead,
I do not get the red tint on my device. Are you viewing that on a PC or mobile device?
It seems, that most of the calendar applications correct the wrong end date without notification (aside from Google's red background), OC complains about wrong end date when re-saving the event, BC@Android shows the wrong end date without complaining, and BC2@Android simply don't show the event at all.
>
>
>
> Maybe there's some sort of bug in Tasker's calendar event creation? ;-)
>
Perhaps. There is a known bug with tasker and all day events I posted here
https://groups.google.com/forum/m/?hl=en#!forum/tasker
@Pent. I found this info on stack overflow. Perhaps this could be the issue for both bugs?
A couple ideas:
time zone "independence" of all-day events (treated as if having GMT) [1] [2]
international date line
[1]"If allDay is set to 1 eventTimezone must be TIMEZONE_UTC and the time must correspond to a midnight boundary."
[2]http://developer.android.com/reference/android/provider/CalendarContract.Events.html
Here is the link
I do not get the red tint on my device. Are you viewing that on a PC or mobile device?
Perhaps. There is a known bug with tasker and all day events I posted here
http://stackoverflow.com/questions/14291091/android-calendar-all-day-event-dates-are-off-by-one-day-for-gmt-x-areas
> Is there anything I can do to work around that?
>
The way I did it was instead of setting a all day event I set a calendar event with the time from 12:01 am to 11:59 pm
I can dig out the code I used if you need it. Use the variable convert action to get time in seconds from the date.
> I can dig out the code I used if you need it. Use the variable convert action to get time in seconds from the date.
Here is a example of how to set the current day to a all day event
Set All Day Alt (770)
A1: Variable Set [ Name:%date To:%DATE 00:01 Do Maths:Off Append:Off ]
A2: Variable Convert [ Name:%date Function:Date Time to Seconds Store Result In:%date ]
A3: Variable Set [ Name:%min To:floor(((%date)-%TIMES)/60) Do Maths:On Append:Off ]
A4: Calendar Insert [ In / For (Minutes):%min/1420 Calendar:Google:ricp...@gmail.com Title:test day off Description: Location: Available:Off All Day:Off Continue Task After Error:On ]
Set All Day Alt (770)
A1: Variable Set [ Name:%date To:%DATE 00:01 Do Maths:Off Append:Off ]
A2: Variable Convert [ Name:%date Function:Date Time to Seconds Store Result In:%date ]
A3: Variable Set [ Name:%min To:floor(((%date)-%TIMES)/60) Do Maths:On Append:Off ]
A4: Calendar Insert [ In / For (Minutes):%min/1420 Calendar:Goo...@gmail.com Title:test day off Description: Location: Available:Off All Day:Off Continue Task After Error:On ]