From b6bec6f7b7a55ebe7174b2bfd3bd520c75cd374f Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 14 Feb 2026 10:29:14 +0000 Subject: [PATCH] reverse logic --- include/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/event.php b/include/event.php index bcde5e6a4..c9d4a79d5 100644 --- a/include/event.php +++ b/include/event.php @@ -162,7 +162,7 @@ function format_event_obj($jobject) { '$dtend_dt' => $dtend_dt, '$allday' => $allday, '$oneday' => $oneday, - '$tz' => ['label' => t('Timezone'), 'value' => (($tz === date_default_timezone_get()) ? '' : date_default_timezone_get())] + '$tz' => ['label' => t('Timezone'), 'value' => (($tz && $tz !== date_default_timezone_get()) ? date_default_timezone_get() : '')] )); $event['content'] = replace_macros(get_markup_template('event_item_content.tpl'), array(