April 16, 2025
This post piggybacks on my earlier post "Print raw values from Smart Date fields in Twig templates - Drupal 8+".
The Drupal Smart Date module allows users to choose a timezone for each date entered in a Smart Date field. One of my clients has a site with an event content type that uses a Smart Date field, and they needed event dates and times to display in the actual timezone entered. However, no…
Continue reading Drupal & Twig: How to show Smart Date dates in the created timezone, without conversion to site default or user-chosen timezone
October 26, 2023
This is a followup to my post "Print formatted date with correct timezone from datetime or daterange field in node and Views templates - Drupal 8". For more on working with Smart Date timezones, see "Drupal & Twig: How to show Smart Date dates in the created timezone, without conversion to site default or user-chosen timezone".
That post deals with core Drupal Date and Daterange fields.…
Continue reading Print raw values from Smart Date fields in Twig templates - Drupal 8+