diff($eventStart); $isBeforeEvent = $eventStartInterval instanceof DateInterval && $eventStartInterval->invert === 0; $eventEnd = new DateTimeImmutable($eventsConfig[$blog_slug]['eventEnd'] . ' Europe/Sofia'); $eventEndInterval = $now->diff($eventEnd); $isAfterEvent = $eventEndInterval instanceof DateInterval && $eventEndInterval->invert === 1; if ($isBeforeEvent) { ?>

format('%a'); ?> format('%H'); ?> format('%I'); ?>