Set timezone when truncating dates (#24247)
Breaking date values into parts should happen in the time zone expected by the user and the construction of the truncated date should happen in the same timezone. This is especially important when the difference between the expected timezone and UTC is not an integer number of hours and the truncation resolution is hour. (See #11149).
Showing
- frontend/test/metabase/scenarios/visualizations/reproductions/16170-line-mongo-replace-missing-values.cy.spec.js 2 additions, 2 deletions...ctions/16170-line-mongo-replace-missing-values.cy.spec.js
- modules/drivers/mongo/src/metabase/driver/mongo/query_processor.clj 10 additions, 8 deletions...ivers/mongo/src/metabase/driver/mongo/query_processor.clj
- modules/drivers/mongo/test/metabase/driver/mongo/query_processor_test.clj 44 additions, 8 deletions...mongo/test/metabase/driver/mongo/query_processor_test.clj
Loading
Please register or sign in to comment