shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

Timezone is not working #172

Closed Zerotask closed 1 year ago

Zerotask commented 1 year ago

Describe the bug by default TZ is set to Europe/Berlin, although I noticed (via product.updated_at) that it's always -2 h from Europe/Berlin time

Expected behavior Should be same time then Europe/Berlin

Environment:

shyim commented 1 year ago

That's hard-code in Shopware itself as has nothing todo with this setup :)

https://github.com/shopware/platform/blob/08dfd59e0d49ef0f872962b32cd3d8d1f3e3b440/src/Core/Kernel.php#L82

Zerotask commented 1 year ago

Any plans to update that in Shopware or is this behavior really wanted from Shopware (if you know that)?

shyim commented 1 year ago

Thats wanted. It's a design decision to store only UTC and convert it for a specific user in their time zone.

The admin itself should convert it always to your datetime zone