From 6869511e45f979ca567490d0c5e1a99a71e8ad4c Mon Sep 17 00:00:00 2001 From: David Wu Date: Tue, 26 Dec 2017 18:13:48 +0100 Subject: [PATCH] Update tomorrow.md description --- snippets/tomorrow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/tomorrow.md b/snippets/tomorrow.md index 243e50d18..29ba4dae0 100644 --- a/snippets/tomorrow.md +++ b/snippets/tomorrow.md @@ -5,5 +5,5 @@ Use `new Date()` to get today's date, adding `86400000` of seconds to it(24 hour ```js 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) ```