Date field formatting in twig in drupal 8

The following snippet makes you format a date field inside a twig file.

Twig snippet to hide region if empty in drupal 8

I encountered this bug in a Display suite 2-column lay-out where I wanted the left region to disappear when empty. 

Subscribe to Twig