Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The current code calculates the offset from the current timezone.
However, java.util.Date and its children (java.sql.Date*) already provide the getTimeOffset() for the same.
This has the added benefit that in the unlikely case that we receive the a java.sql.Date that is not in the JVM timezone, then we use its offset correctly.
Attachments
Issue Links
- is caused by
-
PHOENIX-5066 The TimeZone is incorrectly used during writing or reading data
- Resolved
- is depended upon by
-
PHOENIX-6882 Umbrella Ticket for date/time handling issues
- Open
- links to