# Date is not displayed properly in the shop frontend

**URL:** <https://forum.shopware.com/t/date-is-not-displayed-properly-in-the-shop-frontend/105524>\
**Category:** Shopware 6 (English)\
**Tags:** programming\
**Created:** [16. Oktober 2024 um 07:09 UTC](https://forum.shopware.com/t/date-is-not-displayed-properly-in-the-shop-frontend/105524 "2024-10-16T07:09:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![charles0301](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/charles0301/32/8085_2.png) [@charles0301](https://forum.shopware.com/u/charles0301)\
**Post date:** [16. Oktober 2024 um 07:09 UTC](https://forum.shopware.com/t/date-is-not-displayed-properly-in-the-shop-frontend/105524/1 "2024-10-16T07:09:17Z")

</div>

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.

 ![Selection_004](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/2/228850164a32d0a0c4be543ed569c2c010af4d1a.png)

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](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/f/d/fdb5b42986d987f37a46f40310792f569cac51ed.png)

**Shop Frontend:**  
 ![SHOP_FRONTEND](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/3/3/33149f4ee5693e97409f8fd462b94b8729b6d13c.png)

If this is default twig issue any help
