Skip to content

Commit

Permalink
Added read property for weekOfMonth and updated history for new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
briannesbitt committed Jul 18, 2014
1 parent 791be61 commit 9b42a1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
1.10.0 / 2014-07-17
===================
* Changed @return Carbon phpdocs to static for better IDE typehint when extending Carbon
* Fixed Carbon.php download link
* Added 5.6 and HHVM to test coverage
* Fixed issue with isPast() returning true for now()
* Added getter for weekOfMonth

1.9.0 / 2014-05-12
==================
* Changed self references to static to allow for easier child classes
Expand Down
1 change: 1 addition & 0 deletions src/Carbon/Carbon.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @property integer $timestamp seconds since the Unix Epoch
* @property-read integer $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
* @property-read integer $dayOfYear 0 through 365
* @property-read integer $weekOfMonth 1 through 6
* @property-read integer $weekOfYear ISO-8601 week number of year, weeks starting on Monday
* @property-read integer $daysInMonth number of days in the given month
* @property-read integer $age does a diffInYears() with default parameters
Expand Down

0 comments on commit 9b42a1a

Please sign in to comment.