Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Timezone conversion is not present in UI for 2.2 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Timezone conversion is not present in UI for 2.2 #10

wants to merge 1 commit into from

Conversation

oleksandr-butenko
Copy link
Contributor

Magento 2.1: in table cron_schedule stored task timestamps in client time zone. For example New York time zone.
Magento 2.2: in table cron_schedule stored task timestamps in UTC.
As the result on Magento 2.2, on the page "tasks list" all dates displayed in UTC instead of client timezone.

Timeline rendered in client time zone.

This is the fix. However, it's most likely not compatible with 2.1 and 2.0 (I did not test it)

Please check if you can accept it and update version according to what you'll decide.

Magento 2.1: in table cron_schedule stored task timestamps in client time zone. For example New York time zone.
Magento 2.2: in table cron_schedule stored task timestamps in UTC.
As the result on Magento 2.2, on the page "tasks list" all dates displayed in UTC instead of client timezone.

Timeline rendered in client time zone.

This is the fix. However, it's most likely not compatible with 2.1 and 2.0 (I did not test it)
@oleksandr-butenko
Copy link
Contributor Author

Probably if you what to support older versions you'll need to update your updateData.php.
This request is for 2.2 only.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant