Travis build: 321

This commit is contained in:
Travis CI
2017-12-26 17:15:22 +00:00
parent 6869511e45
commit 1cad1884f4
2 changed files with 2 additions and 2 deletions

View File

@ -1162,7 +1162,7 @@ Use `new Date()` to get today's date, adding `86400000` of seconds to it(24 hour
```js ```js
const tomorrow = () => new Date(new Date().getTime() + 86400000).toISOString().split('T')[0]; const tomorrow = () => new Date(new Date().getTime() + 86400000).toISOString().split('T')[0];
// tomorrow() -> 2017-12-26 // tomorrow() -> 2017-12-27 (if current date is 2017-12-26)
``` ```
[⬆ back to top](#table-of-contents) [⬆ back to top](#table-of-contents)

View File

@ -789,7 +789,7 @@ Throws an error if the passed time cannot be converted to a date.</p>
<p>Results in a string representation of tomorrow's date. <p>Results in a string representation of tomorrow's date.
Use <code>new Date()</code> to get today's date, adding <code>86400000</code> of seconds to it(24 hours), using <code>toISOString</code> to convert Date object to string.</p> Use <code>new Date()</code> to get today's date, adding <code>86400000</code> of seconds to it(24 hours), using <code>toISOString</code> to convert Date object to string.</p>
<pre><code class="language-js">const tomorrow = () =&gt; new Date(new Date().getTime() + 86400000).toISOString().split('T')[0]; <pre><code class="language-js">const tomorrow = () =&gt; new Date(new Date().getTime() + 86400000).toISOString().split('T')[0];
// tomorrow() -&gt; 2017-12-26 // tomorrow() -&gt; 2017-12-27 (if current date is 2017-12-26)
</code></pre> </code></pre>
</div></div><br/><h2 style="text-align:center">Function</h2> </div></div><br/><h2 style="text-align:center">Function</h2>
<div class="card fluid"><div class="section double-padded"><h3 id="chainasync">chainAsync</h3></div><div class="section double-padded"> <div class="card fluid"><div class="section double-padded"><h3 id="chainasync">chainAsync</h3></div><div class="section double-padded">