[ https://issues.apache.org/jira/browse/CALCITE-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083927#comment-16083927 ]
yuemeng commented on CALCITE-1884: ---------------------------------- this should be not a problem,can you check this? [~julianhyde] [~wheat9] this should be not a problem,What do you think? > dateStringToUnixDate() / unixDateToString() returns wrong results > ----------------------------------------------------------------- > > Key: CALCITE-1884 > URL: https://issues.apache.org/jira/browse/CALCITE-1884 > Project: Calcite > Issue Type: Bug > Components: avatica > Affects Versions: 1.13.0 > Reporter: Haohui Mai > Assignee: yuemeng > > dateStringToUnixDate() / unixDateToString() do not return consistent result. > The following test fails: > {noformat} > @Test public void testUnixDate() { > int days = DateTimeUtils.dateStringToUnixDate("1500-04-30"); > assertEquals("1500-04-30", DateTimeUtils.unixDateToString(days)); > } > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)