Browse Source

Merge pull request #23006 from abpframework/setBrowserTimeZoneToCookie

Set browser timezone to cookie for authenticated users.
pull/23008/head
Engincan VESKE 1 year ago
committed by GitHub
parent
commit
3f3788f513
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  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.trySetBrowserTimeZoneToCookie = true;
abp.clock.setBrowserTimeZoneToCookie = function () { abp.clock.setBrowserTimeZoneToCookie = function () {
if (!abp.clock.trySetBrowserTimeZoneToCookie || !abp.clock.supportsMultipleTimezone() || abp.currentUser.isAuthenticated) { if (!abp.clock.trySetBrowserTimeZoneToCookie || !abp.clock.supportsMultipleTimezone()) {
return; return;
} }

Loading…
Cancel
Save