From a38d264ea34cfd19f11d47ce62b0dd46fc2a3cda Mon Sep 17 00:00:00 2001 From: tienifr Date: Fri, 13 Oct 2023 10:36:12 +0700 Subject: [PATCH] modified comment --- src/libs/IntlPolyfill/polyfillDateTimeFormat.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts b/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts index 374601143528..25983aa71f5a 100644 --- a/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts +++ b/src/libs/IntlPolyfill/polyfillDateTimeFormat.ts @@ -34,8 +34,8 @@ Onyx.connect({ }); export default function () { - // Because JS Engines do not expose default timezone, the polyfill cannot detect local timezone that a browser is in - // We must manually do this by getting the local timezone before adding polyfill + // Because JS Engines do not expose default timezone, the polyfill cannot detect local timezone that a browser is in. + // We must manually do this by getting the local timezone before adding polyfill. const currentTimezone = timezone.automatic ? Intl.DateTimeFormat().resolvedOptions().timeZone : timezone.selected; require('@formatjs/intl-datetimeformat/polyfill-force');