IntlDate
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
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.2.0 | Stable | 10–11 | Oct 25, 2025 |