From a8fa4c2d3c8898c4e46b54ad4e7145d9a58126c7 Mon Sep 17 00:00:00 2001 From: Sergey Krupkin Date: Wed, 14 Jul 2021 15:16:24 +0300 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 01369f1..aac33eb 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Adding timezone control to javascript Date object. Date.setTimezoneOffset() Using: ```javascript // Timezone to ALL dates -Date.timezoneOffset(-240) // +4 UTC +Date.setTimezoneOffset(-240) // +4 UTC // Override timezone only for this date new Date().timezoneOffset(-180) // +3 UTC