Question
If pyDefaultTimeZone is empty ,Time zone need to take dynamically from user mobile device location for mobile app or browser time
for user operator id time zone is not mentioned because users will be from different location.
So,timezone for date time in entire application should be take from mobile device location.
Application is both mobile app and desktop version.
For mobile application,timezone should take location of mobile device.
For Desktop ,timezone should be browser timezone.
In section for date time control in presentation tab,Operator time zone radio button is selected
Date time format is coming in GMT by default taking Server timings.
Attached the screen shot.
Please post your responses
@AnithaJ8
This is not as easy a problem to solve as you may think.
Browsers do not transmit timezone information in the HTTP requests they submit to servers. They may submit a locale (language) from which a server might try to deduce where the user is located, but this isn't specific enough for countries with multiple timezones like USA, Canada and Australia.
Typically this is resolved at authentication time by merging indicators from the user's identity into the Pega Operator ID that can be updated during the authentication process. For enterprise users, these indicators may come from the enterprise's Identity Provider; for customers, the application might capture this in a user profile or preferences.
Location information from a mobile (or desktop) device would be helpful but the user can have their location services turned off.