Skip to content

v3.0.0

Compare
Choose a tag to compare
@mikemand mikemand released this 01 Oct 04:56
· 9 commits to master since this release
560b2aa

Upgrade to PHP 7.2 and Carbon 2.

⚠️ Breaking Changes ⚠️

Instead of using Carbon's depreciated methods to set the start and end of the week, use the new $calendar->setWeekStart(int $weekStart) method and supply either a zero-indexed day integer (0 = Sunday, 1 = Monday, etc.) or use CarbonInterface::SUNDAY, CarbonInterface::MONDAY, etc.