diff options
author | Lucas Michot <lucasmichot@users.noreply.github.com> | 2017-02-06 23:01:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 23:01:54 +0100 |
commit | daa3d74d91f19a59a1750a9d69a6d232e3103b4a (patch) | |
tree | f78de38928d7f57078b62abfcfd9c431bbcd7e9a | |
parent | 35ed9eee7896e75b0c910471b3e69c77c0f8674d (diff) | |
parent | a3a5253de461fa4832d436c0ceb900d7fa8019d0 (diff) | |
download | Carbon-origin/gh-pages.zip Carbon-origin/gh-pages.tar.gz Carbon-origin/gh-pages.tar.bz2 |
Merge pull request #889 from jeroennoten/patch-1origin/gh-pages
[docs] No approximation is used anymore.
-rw-r--r-- | docs/index.src.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/index.src.html b/docs/index.src.html index f16c3af..085af9f 100644 --- a/docs/index.src.html +++ b/docs/index.src.html @@ -595,7 +595,7 @@ $littleHandRotations = $dt->diffFiltered(CarbonInterval::minute(), function(Carb <h1 id="api-humandiff">Difference for Humans</h1> -<p>It is easier for humans to read <code>1 month ago</code> compared to 30 days ago. This is a common function seen in most date libraries so I thought I would add it here as well. It uses approximations for a month being 4 weeks. The lone argument for the function is the other Carbon instance to diff against, and of course it defaults to <code>now()</code> if not specified.</p> +<p>It is easier for humans to read <code>1 month ago</code> compared to 30 days ago. This is a common function seen in most date libraries so I thought I would add it here as well. The lone argument for the function is the other Carbon instance to diff against, and of course it defaults to <code>now()</code> if not specified.</p> <p>This method will add a phrase after the difference value relative to the instance and the passed in instance. There are 4 possibilities:</p> |