Permalink
Browse files

Updated history file and added history section to readme

  • Loading branch information...
1 parent e487eb1 commit 5df97d55fd9b9b630c71c01050ff8901ca4085ef @briannesbitt committed Oct 15, 2012
Showing with 20 additions and 6 deletions.
  1. +0 −1 Carbon/Tests/NowAndOtherStaticHelpersTest.php
  2. +6 −3 history.md
  3. +8 −2 readme.md
  4. +6 −0 readme.src.md
@@ -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());
}
-
}
View
@@ -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
==================
View
@@ -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"/>
@@ -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
```
@@ -635,6 +636,11 @@ Brian Nesbitt - <brian@nesbot.com> - <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?
View
@@ -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"/>
@@ -651,6 +652,11 @@ Brian Nesbitt - <brian@nesbot.com> - <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?

0 comments on commit 5df97d5

Please sign in to comment.