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

add timezone to a query #313

Closed
wants to merge 2 commits into from
Closed

Conversation

mshustov
Copy link
Collaborator

@mshustov mshustov commented Mar 3, 2023

Attaches iana name of timezone to each query.
Part of #295. The backend side of the plugin will use the timezone information to adjust the offset for time.Time value.
the timeonze is received from request: DataQueryRequest, if request doesn't provide one, fall back to the local timezone

query(request: DataQueryRequest<CHQuery>): Observable<DataQueryResponse> {
const targets = request.targets
Copy link
Collaborator Author

@mshustov mshustov Mar 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add a test later if we move forward with the porposed implementation

@mshustov
Copy link
Collaborator Author

moved to #314

@mshustov mshustov closed this Mar 13, 2023
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 this pull request may close these issues.

None yet

1 participant