Releases: tuscanicz/datetime-bundle
Releases · tuscanicz/datetime-bundle
doctrine migrations compatibility fix
Symfony 5.x compatibility fix
Presents BC break for Symfony users
Date can now resolve weekends/working days
This version presents two BC breaks:
Date::DAY_MONDAY
and other day constants were migrated into separate enum. If you refer to any of the values, useDayEnum
instead.Date::getDayOfWeek()
now returns instance ofDayEnum
instead of integer
Date::firstDayOfMonth() method introduced
Merge pull request #3 from matejrokos/mr-first-day-of-month Add first day of month to Date
DateTime::isAfter() and isBefore() methods introduced
Merge pull request #2 from hojgr/add-datetime-comparison Add isBefore and isAfter to compare two datetimes
Symfony 4.x support
Merge pull request #1 from TomasBlaha/add-support-symfony-4 Add support for Symfony 4
DateTime addYears/subYears added
v1.0.2 DateTime addYears/subYears added
DateTimeImmutable support added
v1.0.1 DateTimeImmutable support added
initial release
All the major business logic is now unit tested and working fine. Recommended to be used in production.