1
0

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:
kolaente
2024-09-04 23:08:03 +02:00
parent 08b4bcaff9
commit eb89f68f73
4 changed files with 332 additions and 1 deletions

View File

@ -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 {