Issue
When no user authentication is required, the application logs CurrentDateTime using the Universal Time Coordinated (UTC). This behavior ignores the Default time zone configured under the Runtime tab in the App Settings.
Environment
- Free app
- Applications hosted in Mendix Cloud
- Applications hosted in Mendix for Private Cloud
Cause
This is the expected and standard behavior.
The Default Time Zone is utilized for all unidentified users, including anonymous users, within the project settings of Mendix. However, this applies only to the Mendix application and the events recorded within the application's context.
Whenever actions like a REST API call or Workflow process do not transmit information regarding the user's time zone, Mendix is unable to ascertain the user's time zone. Consequently, it defaults to the server's time zone setting, which is the UTC.
Solution/Workaround
During the logging process, the application will capture the time zone of the underlying server. This can be adjusted to the preferred time zone that corresponds with the configuration set in the Runtime.
Internal information related
214560, 243349, 244346
Additional information
Not applicable
0 Comments