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

Date values are displayed in UTC #20

Open
apoorvamohite opened this issue Jun 15, 2023 · 0 comments
Open

Date values are displayed in UTC #20

apoorvamohite opened this issue Jun 15, 2023 · 0 comments

Comments

@apoorvamohite
Copy link
Collaborator

apoorvamohite commented Jun 15, 2023

Dates are crawled as PT and stored as UTC in MongoDB and output is displayed in UTC but queries are using PT
image
Query: (ATTR.StartDate.value > TIMESTAMP'2019-06-21 00:00:00' AND ATTR.StartDate.value < TIMESTAMP'2019-06-21 10:00:00')
This query returns the above document

@apoorvamohite apoorvamohite added the invalid This doesn't seem right label Jun 15, 2023
@apoorvamohite apoorvamohite changed the title Date queries do not take time into consideration Date values are displayed in UTC Jun 15, 2023
@apoorvamohite apoorvamohite removed the invalid This doesn't seem right label Jun 15, 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

No branches or pull requests

1 participant