Browse Source
Set browser timezone to cookie for authenticated users.
pull/23006/head
maliming
1 year ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
npm/packs/core/src/abp.js
|
|
|
@ -830,7 +830,7 @@ var abp = abp || {}; |
|
|
|
abp.clock.trySetBrowserTimeZoneToCookie = true; |
|
|
|
|
|
|
|
abp.clock.setBrowserTimeZoneToCookie = function () { |
|
|
|
if (!abp.clock.trySetBrowserTimeZoneToCookie || !abp.clock.supportsMultipleTimezone() || abp.currentUser.isAuthenticated) { |
|
|
|
if (!abp.clock.trySetBrowserTimeZoneToCookie || !abp.clock.supportsMultipleTimezone()) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
|