Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WC-2751] Fix incorrect conditions for date range filter #1394

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

r0b1n
Copy link
Collaborator

@r0b1n r0b1n commented Jan 14, 2025

Pull request type

Bug fix (non-breaking change which fixes an issue)

Description

It looks like some double UTC conversion have been happening in the filter, resulting in days being off by one. This change removes the UTC conversion.

Note: Check as well that restoring range filter from view state (when navigating back to the page) is still working correctly.

@r0b1n r0b1n requested a review from a team as a code owner January 14, 2025 15:05
gjulivan
gjulivan previously approved these changes Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants