[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes bug with Trantor::Date timeZoneOffset calculation #273

Merged
merged 2 commits into from
Jul 30, 2023

Conversation

VladlenPopolitov
Copy link
Contributor

Fixes bug #1676. Current implementation returns negative values of offset for timezones UTC+1,UTC+2 etc, but negative values are considered as error, returned error code -1 was used as timezone offset 1 second. Proposed change in this pull request uses 1970-01-03 date for the same calculation without negative values of time epoch. If you have questions and proposals regarding this pull request, please contact me.

@an-tao an-tao merged commit e50b416 into an-tao:master Jul 30, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants