Skip to content

Releases: alphp/strftime

v0.0.6 Removed never thrown InvalidArgumentException

01 Apr 21:07
Compare
Choose a tag to compare

Check if $timestamp is DateTimeInterface instance before treating it as integer or string.
InvalidArgumentException is never thrown

Tranks to @TiberiuD

v0.0.5 Try to use LC_TIME locale if locale param is empty

17 Mar 21:50
Compare
Choose a tag to compare

Using LC_TIME locale if possible will make the function more compatible to the current behaviour.

The Locale class also supports identifiers with dashes and may be more than 5 characters; see https://www.php.net/manual/en/class.locale.php

Thanks to @the-mars

v0.0.4

17 Mar 09:55
Compare
Choose a tag to compare

Add support for modifiers to remove leading zeros or convert to spaces #1
Thanks to @the-mars

v0.0.3

16 Mar 14:31
3a0eac6
Compare
Choose a tag to compare

ICU requirement added

v0.0.2

13 Mar 01:44
Compare
Choose a tag to compare

Fix autoload

v0.0.1

13 Mar 01:25
Compare
Choose a tag to compare

First release