-
-
Notifications
You must be signed in to change notification settings - Fork 474
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
Recent test depends from local host timezone and fails if it is not UTC #2160
Comments
Looks like it considers the entered time is in UTC instead of converting it to UTC internally from the current time zone. MRE:
|
Same with
|
Another failing test is |
These are actually two unrelated issues. One issue is using UTC instead on local timezone on inserts and another issue is treating quoted timestamps as strings that need to be parsed via cctz |
Fixed in f6af49b |
Bug Description:
clause from test 446, pushed in 973703b
expected result is
real result is
The most prominent is that just inserted
2019-10-15T20:00
immediately got parsed as2019-10-16T03:00
, i.e. 7 hours later. Looks, like date_format implicitly uses local timezone or something like.While it is possible to suppress such difference by assigning a timezone, the fact that parse/render are not synced together and produces different result looks not very friendly. I would at least expect that just inserted value will be rendered the same way to produce same result as inserted.
Manticore Search Version:
since 973703b
Operating System Version:
linux, macos
Have you tried the latest development version?
Internal Checklist:
To be completed by the assignee. Check off tasks that have been completed or are not applicable.
The text was updated successfully, but these errors were encountered: