fix(caldav): make sure colors are correctly saved and returned
Resolves https://community.vikunja.io/t/caldav-sync-tasks-org-strips-colour-and-end-date-values/2753/2 (cherry picked from commit ffcc48ec871f50c6732eb2f2cf1a49d41e7f47fe)
This commit is contained in:
@ -92,7 +92,8 @@ func getCaldavColor(color string) (caldavcolor string) {
|
||||
return `
|
||||
X-APPLE-CALENDAR-COLOR:` + color + `
|
||||
X-OUTLOOK-COLOR:` + color + `
|
||||
X-FUNAMBOL-COLOR:` + color
|
||||
X-FUNAMBOL-COLOR:` + color + `
|
||||
COLOR:` + color
|
||||
}
|
||||
|
||||
func formatDuration(duration time.Duration) string {
|
||||
|
Reference in New Issue
Block a user