- Fixed "Cannot access property ::$toStringFormat" when extending Carbon and type juggling to a string occurs
- Diff for humans now shows 2 weeks ago instead of 14 days ago
- Added a local getter to test if the instance is in the local timezone
- Added a utc getter to check if the instance is in UTC timezone
- Fixed dst comment / phpdoc and psr issues
- Optimize timezone getters (thanks @semalead)
- Added static __toString formatting (thanks @cviebrock and @anlutro)
- Corrected various PHPdocs
- formatLocalized() is now more OS independent
- Improved diff methods
- Test now can be mocked using a relative term
- Added modifier methods firstOfMonth(), lastOfMonth(), nthOfMonth(), next(), previous(), and so on
- Added modifiers startOfWeek() and endOfWeek()
- Added testing helpers to allow mocking of new Carbon(), new Carbon('now') and Carbon::now()
- Added formatLocalized() to format a string using strftime() with the current locale
- Improved diffInSeconds()
- Improved [add|sub][Years|Months|Days|Hours|Minutes|Seconds|Weeks]
- Docblocks everywhere ;(
- Magic class properties
- Added PHP 5.5 to travis test coverage
- General Code cleanup
- Added history.md
- Implemented __isset() (thanks @flevour)
- Simplified tomorrow()/yesterday() to rely on today()... more DRY
- Simplified __set() and fixed exception text
- Updated readme
- Updated composer.json
- Added better error messaging for failed readme generation
- Fixed readme typos
- Added static helpers
today()
,tomorrow()
,yesterday()
- Simplified
now()
code
- Added travis-ci.org
- Initial release