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 getStartDayOfWeek once again :) #3061

Merged
merged 1 commit into from Apr 28, 2020
Merged

Fix getStartDayOfWeek once again :) #3061

merged 1 commit into from Apr 28, 2020

Conversation

marc1006
Copy link
Contributor

@marc1006 marc1006 commented Apr 28, 2020

This change is Reviewable

In case profile.startDayOfWeek is 0 it's evaluated to false and 1 is returned.
Let's fix this by differentiating between undefined and an actual value.

Fixes: 9ae20a3
sandstorm.js Outdated Show resolved Hide resolved
@marc1006 marc1006 changed the title Fix getStartDayOfWeek once again :) Fix getStartDayOfWeek and some prettifier fixes Apr 28, 2020
@marc1006 marc1006 changed the title Fix getStartDayOfWeek and some prettifier fixes Fix getStartDayOfWeek once again :) Apr 28, 2020
@xet7 xet7 merged commit 4c3907b into wekan:master Apr 28, 2020
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