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 wrong weekdays name #110

Closed
wants to merge 5 commits into from
Closed

Conversation

EricMcRay
Copy link
Contributor

Fix for #104

Intl library uses UTC time when formating the date so Date timezone should be in UTC too for correct formating. I also changed getDay to getUTCDay so sunday will always be first day of week.

I am not sure this will break other things.

@EricMcRay EricMcRay closed this Mar 30, 2018
@EricMcRay EricMcRay deleted the fix-weekdays branch March 30, 2018 11:20
@EricMcRay
Copy link
Contributor Author

This was from wrong branch. Correct one is #111

Sorry for this.

nathanreyes pushed a commit that referenced this pull request Mar 30, 2018
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.

1 participant