[
https://issues.apache.org/jira/browse/FLINK-12990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-12990:
-----------------------------------
Labels: pull-request-available (was: )
> Date type doesn't consider the local TimeZone
> ---------------------------------------------
>
> Key: FLINK-12990
> URL: https://issues.apache.org/jira/browse/FLINK-12990
> Project: Flink
> Issue Type: Bug
> Components: API / Python
> Reporter: Dian Fu
> Assignee: Dian Fu
> Priority: Major
> Labels: pull-request-available
>
> Currently, the python DateType is converted by an `int` which indicates the
> days passed since 1970-1-1 and then the Java side will create a Java Date by
> call `new Date(days * 86400)`. As we know that the Date constructor expected
> milliseconds since 1970-1-1 00:00:00 GMT and so we should convert `days *
> 86400` to GMTÂ milliseconds.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)