Skip to content

Commit e7cd9c3

Browse files
committed
docs(datetime): fix format output examples
1 parent 2f3624d commit e7cd9c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/2-features/15-datetime.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ You may format a {b`Tempest\DateTime\DateTime`} instance in a specific format us
113113
use Tempest\DateTime\FormatPattern;
114114
use Tempest\Intl\Locale;
115115

116-
$date->format(); // 19 Sept 2025, 02:00:00
117-
$date->format(pattern: FormatPattern::COOKIE); // Monday, 19-Sept-2025 02:00:00 BST
118-
$date->format(locale: Locale::FRENCH); // 19 sept. 2025, 02:00:00
116+
$date->format(); // Jan 7, 2026, 10:30:05 PM
117+
$date->format(pattern: FormatPattern::COOKIE); // Wednesday, 07-Jan-2026 22:30:46 UTC
118+
$date->format(locale: Locale::FRENCH); // 7 janv. 2026, 22:32:12
119119
```
120120

121121
## Clock interface

0 commit comments

Comments
 (0)