Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 784 Bytes

2022-03-14-fixed-dashboard-stats-not-responding-to-selected-timezone.md

File metadata and controls

13 lines (13 loc) · 784 Bytes
title issue author author_email author_github
Fixed dashboard stats not responding to selected timezone
NEXT-19771
Eric Heinzl
e.heinzl@shopware.com
xPand4B

Administration

  • Changed sw-dashboard-statistics component to respond correctly to user timezone changes
    • Changed deprecated sw-dashboard-index page as well with the same behaviour
  • Deprecated todayBucket in administration/src/module/sw-dashboard/component/sw-dashboard-statistics/index.js. Use todayBucketCount instead.
  • Deprecated formatDate in administration/src/module/sw-dashboard/component/sw-dashboard-statistics/index.js. Use formatDateToISO instead.
  • Added dateWithUserTimezone helper in src/Administration/Resources/app/administration/src/core/service/utils/format.utils.ts