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

Displayed date & filtered input appear to be in different timezones #2894

Open
jdangerx opened this issue Jan 14, 2025 · 0 comments · May be fixed by #2904
Open

Displayed date & filtered input appear to be in different timezones #2894

jdangerx opened this issue Jan 14, 2025 · 0 comments · May be fixed by #2904

Comments

@jdangerx
Copy link

jdangerx commented Jan 14, 2025

Bug Report

Steps to Reproduce:

  1. Check out my repro repository.
  2. It seemed a little bit silly to make a whole new repository from last time (Filtering float columns leads to "invalid scalar" error #2881) so I just made a branch called dates - check out that branch. Or tell me to make a new repository.
  3. npm install && npm run start
  4. Try to filter on date == 12/31/2024 and date == 01/01/2025, see that the left and right sides don't appear to match.

Expected Result:

I expected either:

  • filtering on date == 12/31/2024 shows one row, date == 01/01/2025 shows 0 rows, displayed date is 12/31/2024 (i.e., the displayed date & the user-input date are both in local time)
  • filtering on date == 12/31/2024 shows no rows, date == 01/01/2025 shows 1 row, and the displayed date is 01/01/2025 instead of 12/31/2024 (i.e, the displayed date & the user-input date are both in UTC)

Actual Result:

Filtering on date == 12/31/2024 shows no rows, date == 01/01/2025 shows 1 row, and the displayed date is 12/31/2024

  • OS and version
  • Platform/language + version

Environment:

For JavaScript (browser):

  • @finos/perspective version: 3.2.1 - I see there's 3.3.0 out now (maybe in the process of creating a release? perspective-esbuild-plugin doesn't have 3.3.0 yet)
  • Browser and version: Version 131.0.6778.265 (Official Build) (arm64)
  • OS: macOS 14.4.1 (23E224)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant