aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-22 12:40:37 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-22 12:40:37 +0200
commit39613aa2d9298e13629b5b4a7c6b6f1bbe7edca5 (patch)
treef992777423a1b04b757578f9cfbf90be349091de /view
parente834c7fe3e421a7a52e27b274d8ea35bd2ad5bec (diff)
downloadvolse-hubzilla-39613aa2d9298e13629b5b4a7c6b6f1bbe7edca5.tar.gz
volse-hubzilla-39613aa2d9298e13629b5b4a7c6b6f1bbe7edca5.tar.bz2
volse-hubzilla-39613aa2d9298e13629b5b4a7c6b6f1bbe7edca5.zip
improve timezone detection for caldav and remove smart birthday feature. Force adjust birthdays until we agree on how to deal with this.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/cdav_calendar.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/cdav_calendar.tpl b/view/tpl/cdav_calendar.tpl
index da4a6d156..083c7cea3 100644
--- a/view/tpl/cdav_calendar.tpl
+++ b/view/tpl/cdav_calendar.tpl
@@ -207,7 +207,7 @@ $(document).ready(function() {
'timezone_select': event.extendedProps.timezone,
'dtstart': dtstart.toUTCString(),
'dtend': dtend.toUTCString(),
- 'adjust': event.extendedProps.item.adjust,
+ 'adjust': event.allDay ? 0 : 1,
'categories': event.extendedProps.categories,
'desc': event.extendedProps.description,
'location': event.extendedProps.location,
@@ -256,7 +256,7 @@ $(document).ready(function() {
'timezone_select': event.extendedProps.timezone,
'dtstart': dtstart.toUTCString(),
'dtend': dtend.toUTCString(),
- 'adjust': event.extendedProps.item.adjust,
+ 'adjust': event.allDay ? 0 : 1,
'categories': event.extendedProps.categories,
'desc': event.extendedProps.description,
'location': event.extendedProps.location,