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

Fix for an issue when a wrong week is selected when switching between month and week display mode #327

Merged
merged 1 commit into from
May 31, 2016

Conversation

levaja
Copy link
Contributor

@levaja levaja commented May 30, 2016

This should probably fix issue #222

The problem is that a daylight saving time (DST) was ignored when calculating a number of days between two dates.

@ekchang
Copy link
Contributor

ekchang commented May 31, 2016

Thanks for this. I also found out it was DST that was messing with the calc offset (weeks that had a DST day of 23 hours would round down to 0 weeks) and didn't get a chance to build a fix.

@ekchang ekchang merged commit 3bd8a55 into prolificinteractive:future-1.x May 31, 2016
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