Describe the bug
When filtering orders by date range, the app uses the local timezone and not the store (web) defined timezone.
To Reproduce
Create several orders in a store with a different timezone than on the device. Try that the difference between the device and the store timezone is big enough that the store timezone is in the next day. For example, September 25th using the store timezone but September 24th on the device.
Steps to reproduce the behavior:
Go to Orders
Tap on Filters
Tap on the Date range
Tap on today
Check that the filter displays orders from Today and Yesterday
Expected behavior
If the Today filter is applied, only today's orders are displayed. We should apply filters that consider the store timezone and not the device one.
Isolating the problem (mark completed items with an [x]):
[x] I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
[x] This bug happens with a default WordPress theme active, or Storefront.
[x] I can reproduce this bug consistently using the steps above.
Describe the bug When filtering orders by date range, the app uses the local timezone and not the store (web) defined timezone.
To Reproduce Create several orders in a store with a different timezone than on the device. Try that the difference between the device and the store timezone is big enough that the store timezone is in the next day. For example, September 25th using the store timezone but September 24th on the device.
Steps to reproduce the behavior:
Screenshots
https://github.com/user-attachments/assets/9241a33b-142a-40b3-add6-d6c40e39c11f
Expected behavior If the Today filter is applied, only today's orders are displayed. We should apply filters that consider the store timezone and not the device one.
Isolating the problem (mark completed items with an [x]):
Mobile Environment Please include: