Compare commits

..

No commits in common. "0e6be12680a289e86093fb95ecf9ffdc4a70b7ae" and "115a128d62334383d66677396af7adaee531a4ec" have entirely different histories.

2 changed files with 12 additions and 21 deletions

View file

@ -29,13 +29,9 @@
"username": "lampukistan-{{username}}",
"password": "{{password}}",
"setup_hints": [
{
"label": "Liste von Clients",
"link": "https://devguide.calconnect.org/CalDAV/Client-Implementations/"
},
{
"label": "Android",
"link": "https://goneuland.de/davx5-android-kalender-per-caldav-integrieren-z-b-nextcloud/",
"link": "https://www.android-user.de/caldavcarddav-kalender-und-adressbuecher-ohne-google-synchronisieren/",
"remark": null
},
{
@ -54,8 +50,8 @@
},
{
"label": "MS Outlook",
"link": "https://all-inkl.com/wichtig/anleitungen/programme/e-mail/caldav-kalenderfunktion/outlook-2019_468.html",
"remark": "eigentlich für Server 'all-inkl.com' — Zugangsdaten müssen entsprechend geändert werden"
"link": "https://www.united-domains.de/help/faq-article/wie-synchronisiere-ich-meinen-kalender-caldav-mit-ms-outlook/",
"remark": null
}
]
}

View file

@ -78,35 +78,30 @@ namespace _zeitbild.helpers
/**
* @todo timezone
*/
export function icalendar_dt_from_own_datetime(
datetime : lib_plankton.pit.type_datetime
) : lib_plankton.ical.type_dt
{
const datetime_normalized : lib_plankton.pit.type_datetime = lib_plankton.pit.to_datetime(
lib_plankton.pit.from_datetime(datetime),
{
"timezone_shift": 0,
}
);
return {
"tzid": "UTC",
"tzid": "Europe/Berlin",
"value": {
"date": {
"year": datetime_normalized.date.year,
"month": datetime_normalized.date.month,
"day": datetime_normalized.date.day,
"year": datetime.date.year,
"month": datetime.date.month,
"day": datetime.date.day,
},
"time": (
(datetime_normalized.time === null)
(datetime.time === null)
?
null
:
{
"utc": true,
"hour": datetime_normalized.time.hour,
"minute": datetime_normalized.time.minute,
"second": datetime_normalized.time.second,
"hour": datetime.time.hour,
"minute": datetime.time.minute,
"second": datetime.time.second,
}
)
},