Skip to content

Releases

v0.7.8

Choose a tag to compare

@alphp alphp released this 24 Nov 08:20
3776e70

Pad the century in %C to two digits- #27

v0.7.7

Choose a tag to compare

@alphp alphp released this 24 Oct 18:21
d9d4388
  • Use a two-digit year in %D PR #25
  • Handle an escaped percent sign followed by a format specifier PR #26

v0.7.6

Choose a tag to compare

@alphp alphp released this 20 Nov 00:12
d115595

No code modification.
PHPDoc signature update: added throws an InvalidArgumentException.

v0.7.5

Choose a tag to compare

@alphp alphp released this 15 May 08:40
bb8a957

Don't override the timezone when called with a DateTime object

v0.7.0

Choose a tag to compare

@alphp alphp released this 26 Jan 01:08
2a8c562

Fix fatal error when using the default PHP locale #17

Thanks to @jonasraoni

v0.6.0

Choose a tag to compare

@alphp alphp released this 18 Dec 21:14
f5e1ece

Fix fatal error with non-Gregorian locales (#15)

Thanks to @asmecher

v0.5.0

Choose a tag to compare

@alphp alphp released this 10 Apr 22:36

Account for different handling of historical dates by ICU and Posix #5
Minimum PHP version in composer.json is incorrect #6

Thanks to @IMSoP

v0.4.0 Fixed %k format as specified in documentation

Choose a tag to compare

@alphp alphp released this 02 Apr 23:21
Format Description Example returned values
%k Hour in 24-hour format, with a space preceding single digits 0 through 23

v0.3.0 Fixed week formats

Choose a tag to compare

@alphp alphp released this 02 Apr 21:07
Update readme

v0.2.0 Fixed some formats

Choose a tag to compare

@alphp alphp released this 02 Apr 15:26

Added documentation of formats
Added test for all formats
Fixed some formats