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

Wrong date parameter of beforeCreateSchedule callback near 24 o'click #16

Closed
dongsik-yoo opened this issue Mar 6, 2018 · 0 comments
Closed
Assignees
Labels

Comments

@dongsik-yoo
Copy link
Contributor

dongsik-yoo commented Mar 6, 2018

Version

v0.6.4

Development Environment

Mac
Chrome

Current Behavior

The given parameter start, end has wrong date near 24 o'clock.
Might be timezone issue.

2018-03-06 09_55_57

calendar.on('beforeCreateSchedule', function(e) {
    console.log(e.start);
    console.log(e.end);
});

Expected Behavior

The start, end parameter should be exact when near 24 o'clock.

@dongsik-yoo dongsik-yoo added the Bug label Mar 6, 2018
@dongsik-yoo dongsik-yoo self-assigned this Mar 7, 2018
dongsik-yoo pushed a commit that referenced this issue Mar 8, 2018
fix: Wrong date parameter of beforeCreateSchedule callback near 24 o'click (fix #16)
dongsik-yoo pushed a commit that referenced this issue Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant