Blog Archives

Drupal 8 – Formatting a Date Field in Twig

Here are the four¬†easiest ways I’ve found to show dates via Twig inside of a node template. They all result in the same output. Use the field’s formatter settings; include wrappers

This is the only example that includes wrappers.

Tagged with: , ,
Posted in Development