Wrong time in created cases in Bitrix24

Wrong time in created cases in Bitrix24

In case you have incorrect times being recorded in the created cases, you need to consistently check the following settings.

The correct time offset is specified in the application settings

Check the 'utc_offset' time offset in the app settings as per the installation instructions.

Time settings on Bitrix24 server (for boxed version only)

In case you have cloud-based Bitrix24 - skip this step.

If you have a self-hosted version of Bitrix24, connect to the server with Bitrix24 and run the command:

$ date

Check that the time and time zone are correct in the response.

Employee time settings in Bitrix24

In the profile of the user on whose behalf you are viewing cases, the correct time zone is specified: User profile -> Change personal data -> "Automatically determine time zone". The clock at the top of the portal shows the correct time.

The same must be true for the user on whose behalf our application connects to the portal (specified in the 'user_login' parameter).

Time settings on Asterisk server - correct data gets to CEL

Run the command on the Asterisk server:

$ date

Check that the time and time zone are correct in the response.

Verify that the data input to the CEL is correct::

$ mysql -u root > USE asteriskcdrdb; > SELECT * FROM `cel` ORDER BY `eventtime` DESC LIMIT 1

Look at the value of the eventtime field for the record. If you have active telephony users, the time should be approximately the same as the current time.

Last updated