Skip to content

Releases: tuscanicz/datetime-bundle

doctrine migrations compatibility fix

07 May 11:17
0f54512
Compare
Choose a tag to compare
Merge pull request #5 from michondr/doctrine-sql-comment

fix doctrine types generate diffs constantly

Symfony 5.x compatibility fix

09 Mar 13:50
443ca0d
Compare
Choose a tag to compare

Presents BC break for Symfony users

Date can now resolve weekends/working days

26 Jun 20:17
Compare
Choose a tag to compare

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, use DayEnum instead.
  • Date::getDayOfWeek() now returns instance of DayEnum instead of integer

Date::firstDayOfMonth() method introduced

18 Jun 13:51
1969fa1
Compare
Choose a tag to compare
Merge pull request #3 from matejrokos/mr-first-day-of-month

Add first day of month to Date

DateTime::isAfter() and isBefore() methods introduced

14 Nov 16:37
184e2f5
Compare
Choose a tag to compare
Merge pull request #2 from hojgr/add-datetime-comparison

Add isBefore and isAfter to compare two datetimes

Symfony 4.x support

02 Oct 13:30
825cee0
Compare
Choose a tag to compare
Merge pull request #1 from TomasBlaha/add-support-symfony-4

Add support for Symfony 4

DateTime addYears/subYears added

03 Aug 11:31
Compare
Choose a tag to compare
v1.0.2

DateTime addYears/subYears added

DateTimeImmutable support added

03 Apr 11:05
Compare
Choose a tag to compare
v1.0.1

DateTimeImmutable support added

initial release

05 Feb 22:47
Compare
Choose a tag to compare

All the major business logic is now unit tested and working fine. Recommended to be used in production.