IntlDate
212 sites
Security covered
This module provides enhanced, localized date formatting beyond Drupal's core capabilities by leveraging PHP's Intl extension. It allows for custom date pattern configurations and offers a date field formatter and Twig function to apply these granular, language-specific formats.
PHP provides Intl extension, that solves the hard problem of localized date formatting.
Drupal core doesn't cover the edge cases, like in some languages, the translation of the month differs based on the structure of the date format (ie. with or without the day).
Fine-grained date pattern components:
In the past, it was planned to have this in core, but for some heavily localized sites, it's a must to have this kind of flexibility.
What this module aims to provide:
- Date pattern configuration entities
- Date field formatter with configurable pattern
- Twig function for date formatting