We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af91ed6 commit 889d023Copy full SHA for 889d023
src/card.php
@@ -39,7 +39,7 @@ function formatDate(string $dateString, string|null $format, string $locale): st
39
$formatted = date_format($date, str_replace(["[", "]"], "", $format));
40
} else {
41
// format with year using locale
42
- $pattern = $patternGenerator->getBestPattern("YYYY MMM d");
+ $pattern = $patternGenerator->getBestPattern("yyyy MMM d");
43
$dateFormatter = new IntlDateFormatter(
44
$locale,
45
IntlDateFormatter::MEDIUM,
0 commit comments