Dian Fu created FLINK-12990:
-------------------------------
Summary: 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
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)