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

bug fix to not include timezone additions #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Elyahu41
Copy link
Contributor

This PR fixes an issue that happens when the timezone changes the next or previous day. The only problem this fix might present is accuracy, as not every day is 84,000 seconds from what I remember.

Copy link
Owner

@MosheBerman MosheBerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when the timezone changes the next or previous day

What do you mean by this? Do you have an example where this behavior impacts the code negatively?

@MosheBerman
Copy link
Owner

The only problem this fix might present is accuracy, as not every day is 84,000 seconds from what I remember

This is correct.

@Elyahu41
Copy link
Contributor Author

when the timezone changes the next or previous day

What do you mean by this? Do you have an example where this behavior impacts the code negatively?

Try to see what happens in your app for November 5th, 2023. You will see that the times are incorrect.

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.

2 participants