-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated history file and added history section to readme
- Loading branch information
1 parent
e487eb1
commit 5df97d5
Showing
4 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 - <[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? | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 - <[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? | ||
|
||
|