Create an "Is All Date" twig function.

Created on 24 February 2021, about 4 years ago
Updated 19 February 2025, about 2 months ago

Problem/Motivation

I am working with Smart Date's all day features. It works wonderfully.
I wanted to do some special things for All Day events, I think an is_all_day twig function would be useful, as a wrapper around the

\Drupal\smart_date\SmartDateTrait::isAllDay

Proposed resolution

Patch attached.

Feature request
Status

Active

Version

3.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • @rpayanm opened merge request.
Production build 0.71.5 2024