[ 
https://issues.apache.org/jira/browse/CALCITE-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruben Q L resolved CALCITE-5494.
--------------------------------
    Resolution: Fixed

Fixed via 
https://github.com/apache/calcite-avatica/commit/b57eb7cd31a90d3f46b65c13832b398be5b0dad9

Thanks [~freastro] for the fix!

> Time zone tests in DateTimeUtilsTest should pass in Europe/London
> -----------------------------------------------------------------
>
>                 Key: CALCITE-5494
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5494
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Gregory Hart
>            Assignee: Gregory Hart
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: avatica-1.24.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{DateTimeUtilsTest.testSqlDateToUnixDateWithCustomCalendar}} test fails 
> in the Europe/London time zone. The issue is due to the use of 
> {{TimeZone.setRawOffset(int)}} which expects the provided value to be the 
> offset from GMT, but the test provides the offset from UTC.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to