Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
If the machine's local timezone involves DST, the UDFs return incorrect results.
For example:
select to_utc_timestamp('2005-04-03 02:01:00','UTC');
returns 2005-04-03 03:01:00. Correct result should be 2005-04-03 02:01:00.
select to_utc_timestamp('2005-04-03 10:01:00','Asia/Shanghai');
returns 2005-04-03 03:01:00. Correct result should be 2005-04-03 02:01:00.