Releases: slope-it/clock-mock
Releases · slope-it/clock-mock
0.2.2
What's Changed
- Fix to wrong time when a DateTime with a specific timezone is created while ClockMock is active by @lfmimo in #8
New Contributors
Full Changelog: 0.2.1...0.2.2
0.2.1
What's Changed
- Add gmdate mock and refactor mocks with their own private methods by @asprega in #3
- DateTime immutable doesn't use formatted timezone by @syffer in #4
New Contributors
Full Changelog: 0.2.0...0.2.1
Add more function mocks
Add a few more function mocks:
- strtotime()
- getdate()
- gmdate()
- localtime()
- date_create()
- date_create_immutable()