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

.start and .end return wrong date in FullCalendar #10

Open
JonSkeetC opened this issue Oct 23, 2015 · 0 comments
Open

.start and .end return wrong date in FullCalendar #10

JonSkeetC opened this issue Oct 23, 2015 · 0 comments

Comments

@JonSkeetC
Copy link

Hi there, thanks for the amazing work about the resource adding. I've noticed a bug and I want propose this to @aromka and also @mherrmann
In particular if I want get the start date of my calendar this is returned correctly but the end date is returned wrong. I'll be more specific:

I'm on weekday visualization, friday for example, I do:

       $calendar.fullCalendar('getView').start.toDate();

I get Fri Oct 23 2015 00:00:00 GMT+0200

and this is good, but if I've 3 columns in one day and I'll get the end date like this:

      $calendar.fullCalendar('getView').end.toDate();

the code return me this:

       Mon Oct 26 2015 00:00:00 GMT+0100

The result is wrong because it should be: Fri Oct 23 2015 23:59:59 GMT+0100
or something like that specifies the end of friday (the current day). This bug should be fixed urgently 'cause it's too important for the whole structure. I'm surprise that no one noticed.

I hope in a fast solution. Thanks for the good library, I'm waiting a response.
Have good day.

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

No branches or pull requests

1 participant