NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1829 most downloaded on Packagist
Locale-formatted strftime using IntlDateFormatter (PHP 8.1 compatible)
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 9 days to 1.7 years
Most releases are documented
notes for 14 of 20 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
20 releases · first in 2022
One column per quarter.
No code modification. PHPDoc signature update: added throws an InvalidArgumentException.
No code modification.
PHPDoc signature update: added throws an InvalidArgumentException.
Don't override the timezone when called with a DateTime object
Don't override the timezone when called with a DateTime object
v0.7.5
Compare
Use Locale::getDefault() before setlocale(LC_TIME, '0') for get defau…
Use Locale::getDefault() before setlocale(LC_TIME, '0') for get defau…
Minus prefix should also remove space
Standard PHP strftime() also remove leading space when using the minus prefix.
Co-authored-by: Fernando Herrero ininflamable@gmail.com
"Stand-alone" versions of "month in year" and "day of week" formats m…
"Stand-alone" versions of "month in year" and "day of week" formats m…
Test: use assertThat instead assertMatchesRegularExpression
Test: use assertThat instead assertMatchesRegularExpression
Fix fatal error when using the default PHP locale #17
Fix fatal error when using the default PHP locale #17
Thanks to @jonasraoni
Fix fatal error with non-Gregorian locales
Account for different handling of historical dates by ICU and Posix #5 Minimum PHP version in composer.json is incorrect #6
Format Description Example returned values
| Format | Description | Example returned values |
|---|---|---|
%k |
Hour in 24-hour format, with a space preceding single digits | 0 through 23 |
v0.4.0 Fixed %k format as specified in documentation
Compare
v0.3.0 Fixed week formats Compare # Choose a tag to compare
v0.3.0 Fixed week formats
Compare
v0.2.0 Fixed some formats Compare # Choose a tag to compare
v0.2.0 Fixed some formats
Compare
v0.1.0 PHPUnit tests Compare # Choose a tag to compare
v0.1.0 PHPUnit tests
Compare
v0.0.7 Catch exception thrown by DateTime
v0.0.7 Catch exception thrown by DateTime
Compare
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →