[
https://issues.apache.org/jira/browse/PHOENIX-6949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720427#comment-17720427
]
ASF GitHub Bot commented on PHOENIX-6949:
-----------------------------------------
stoty opened a new pull request, #1602:
URL: https://github.com/apache/phoenix/pull/1602
(no comment)
> Use j.u.Date.getTimeOffset() for displacement calculation
> ---------------------------------------------------------
>
> Key: PHOENIX-6949
> URL: https://issues.apache.org/jira/browse/PHOENIX-6949
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Reporter: Istvan Toth
> Priority: Major
>
> 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.-
--
This message was sent by Atlassian Jira
(v8.20.10#820010)