Browse Source
Enhance timezone retrieval to fallback on browser timezone if not set in settings
pull/22236/head
maliming
2 years 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
|
|
|
@ -753,7 +753,7 @@ var abp = abp || {}; |
|
|
|
} |
|
|
|
|
|
|
|
abp.clock.timeZone = function () { |
|
|
|
return abp.setting.get('Abp.Timing.TimeZone'); |
|
|
|
return abp.setting.get('Abp.Timing.TimeZone') || abp.clock.browserTimeZone(); |
|
|
|
} |
|
|
|
|
|
|
|
// Normalize Date object or date string to standard string format that will be sent to server
|
|
|
|
|