Skip to content

Commit 8cd2019

Browse files
committed
Update value
1 parent 14dae8d commit 8cd2019

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const startTracker = async (
4646
const queryString = window.location.search;
4747
const urlParams = new URLSearchParams(queryString);
4848
const ip = '';
49-
const userTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone?.toLowerCase();
49+
const userTimeZone = Intl.DateTimeFormat().resolvedOptions()?.timeZone;
5050

5151
try {
5252
const fingerprint = getFingerprint();
@@ -129,7 +129,7 @@ const trackEvent = async (endpoint: string, referer?: string, data?: object, _ur
129129
const lang = window.navigator['userLanguage'] || window.navigator.language;
130130
const device = browser?.platform?.model ?? browser?.platform?.type;
131131
const ip = '';
132-
const userTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone?.toLowerCase();
132+
const userTimeZone = Intl.DateTimeFormat().resolvedOptions()?.timeZone;
133133

134134
const fingerprint = getFingerprint();
135135
const headers = { type: 'application/json' };

0 commit comments

Comments
 (0)