Browse Source

Set browser timezone to cookie for authenticated users.

pull/23006/head
maliming 1 year ago
parent
commit
c7267dd743
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      npm/packs/core/src/abp.js

2
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;
}

Loading…
Cancel
Save