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

Timezone bug in timefilter input #2943

Open
berggren opened this issue Oct 16, 2023 · 0 comments
Open

Timezone bug in timefilter input #2943

berggren opened this issue Oct 16, 2023 · 0 comments
Assignees
Labels

Comments

@berggren
Copy link
Contributor

Describe the bug
When pasting a datetime string without timezone information and with a trailing space the timefilter form treats the string as local timezone and reformats to the wrong UTC time.

To Reproduce
Steps to reproduce the behavior:

  1. Go to explore
  2. Click on "+ timefilter"
  3. Enter "2023-01-01 20:00:00 "
  4. See the input change to "2023-01-01T18:00:00.000Z"

Expected behavior
The input should be "2023-01-01T20:00:00.000Z"

Desktop (please complete the following information):

  • OS: macos
  • Browser chrome
  • Version latest
@berggren berggren added the Bug label Oct 16, 2023
@berggren berggren self-assigned this Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant