Skip to content

Commit

Permalink
Updated history file and added history section to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
briannesbitt committed Oct 15, 2012
1 parent e487eb1 commit 5df97d5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
1 change: 0 additions & 1 deletion Carbon/Tests/NowAndOtherStaticHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,4 @@ public function testYesterdayWithTimezone()
$dt2 = new \DateTime('yesterday', new \DateTimeZone('Europe/London'));
$this->assertSame($dt2->format('Y-m-d 00:00:00'), $dt->toDateTimeString());
}

}
9 changes: 6 additions & 3 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
X.X / not released
1.2.0 / 2012-10-14
==================

* added history.md

* Added history.md
* Implemented __isset() (thanks @flevour)
* Simplified tomorrow()/yesterday() to rely on today()... more DRY
* Simplified __set() and fixed exception text
* Updated readme

1.1.0 / 2012-09-16
==================
Expand Down
10 changes: 8 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ $daysSinceEpoch = Carbon::createFromTimeStamp(0)->diffInDays();
* [Contributing](#about-contributing)
* [Author](#about-author)
* [License](#about-license)
* [History](#about-history)
* [Why the name Carbon?](#about-whyname)

<a name="install"/>
Expand Down Expand Up @@ -162,11 +163,11 @@ To accompany `now()`, a few other static instantiation helpers exist to create w

```php
$now = Carbon::now();
echo $now; // 2012-10-14 15:36:24
echo $now; // 2012-10-14 20:40:20
$today = Carbon::today();
echo $today; // 2012-10-14 00:00:00
$tomorrow = Carbon::tomorrow('Europe/London');
echo $tomorrow; // 2012-10-15 00:00:00
echo $tomorrow; // 2012-10-16 00:00:00
$yesterday = Carbon::yesterday();
echo $yesterday; // 2012-10-13 00:00:00
```
Expand Down Expand Up @@ -635,6 +636,11 @@ Brian Nesbitt - <[email protected]> - <http://twitter.com/NesbittBrian>

Carbon is licensed under the MIT License - see the `LICENSE` file for details

<a name="about-history"/>
### History

You can view the history of the Carbon project in the [history file](https://github.com/briannesbitt/Carbon/blob/master/history.md).

<a name="about-whyname"/>
### Why the name Carbon?

Expand Down
6 changes: 6 additions & 0 deletions readme.src.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $daysSinceEpoch = Carbon::createFromTimeStamp(0)->diffInDays();
* [Contributing](#about-contributing)
* [Author](#about-author)
* [License](#about-license)
* [History](#about-history)
* [Why the name Carbon?](#about-whyname)

<a name="install"/>
Expand Down Expand Up @@ -651,6 +652,11 @@ Brian Nesbitt - <[email protected]> - <http://twitter.com/NesbittBrian>

Carbon is licensed under the MIT License - see the `LICENSE` file for details

<a name="about-history"/>
### History

You can view the history of the Carbon project in the [history file](https://github.com/briannesbitt/Carbon/blob/master/history.md).

<a name="about-whyname"/>
### Why the name Carbon?

Expand Down

0 comments on commit 5df97d5

Please sign in to comment.