From de3f74a572d59407193ebc2946fb421691d21b09 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 28 May 2021 00:33:21 -0600 Subject: [PATCH] typo fix and formatting --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 948960a..3d8c848 100644 --- a/README.md +++ b/README.md @@ -24,15 +24,15 @@ var tzDate = TZ.toUTC("2021-11-07 03:15:59.000", "America/New_York"); tzDate.toISOString(); // "2021-11-07T03:15:59.000-0500" -// same as "2021-11-07T08:15:59.000Z" +// (same as "2021-11-07T08:15:59.000Z") ``` > What time will it be in New York when it's 7:15am UTC? ```js // Absolute UTC time to Relative New York time -TZ.toTimeZoneISOString("2021-11-07T07:15:59.000Z", "America/New_York"); -// "2021-11-07T03:15:59.000-0400" +TZ.toTimeZoneISOString("2021-03-14T07:15:59.000Z", "America/New_York"); +// "2021-03-14T03:15:59.000-0400" ``` ```js @@ -45,7 +45,7 @@ var utcDate = TZ.toTimeZone("2021-03-14T07:15:59.000Z", "America/New_York"); utcDate.toISOString(); // "2021-03-14T03:15:59.000-0400" -// same as "2021-11-07T07:15:59.000Z" +// (same as "2021-11-07T07:15:59.000Z") ``` # Features