Date is not displayed properly in the shop frontend

Hello all,

Have a good day

In the Shopware backend, the time zone is set to Europe/Zurich. I have created a plugin that will store the next date in date time format in the database (2024-10-22 22:00:00). Refer to the screenshot below.

The next date is displayed properly in the shop backend. But on the shop front end, it is showing the wrong date. I have used the below code in my twig file.

{{ nextDate|format_date(‚medium‘, locale=app.request.locale) }}

Shop Backend:
SHOP_BACKEND

Shop Frontend:
SHOP_FRONTEND

If this is default twig issue any help