Closed yashilanka closed 8 years ago
Hi @yashilanka, unfortunately we're keeping the Github issues to bug reports and browser inconsistencies only. I'm not entirely sure the cause of the problem you're having, but issues here need to identify a bug/problem, provide steps to reproduce the bug, and then provide the full config and events array to reproduce the error.
At first glance it doesn't appear that you're experiencing a bug, and you would most certainly have better luck at Stack Overflow.
ok thank you for the feedback, and one last question, how to get today only event list and count. is there a native method. I want to show them in a separate div. is this can do?. also is this information available in callback events.
I would say to just please read through the extensive documentation on the main page. What you're trying to do is not natively supported (i.e. there's no getTodaysEvents() API method) but what you have access to is a) your original events array, and b) the events objects in the template. Since CLNDR is based on a template, you could add the day's events to the DOM somehow in your template, or you could make a separate function to some getTodaysEvents
that you have outside of CLNDR, but that still works with the events you originally passed into CLNDR (some common array of events).
Hi I Follow the answer that you gave for the "Current Day Events only" #109 question and I use that to get tomorrow events but it doesn't work as expected. I want to know is my implementation work or Did I missed something or is there a better way to get tomorrow events . this is the code I use
above code is the direct implementation that you solved "Current Day Events", I try to use that to get tomorrow events and counts, also I follow moment documentation and follow their isSameorBefore and isSameorAfter validation. but it also didn't work as expected.
also when i try to get event count using length. it shows me some wired result eg:
when the date is same day == show count as a 1 when the startDate and endDate are both same == show as a 1 when the startDate 24 and endDay is 25 it didn't show the correct count related to today event length.
this is the dataset if you want to try.
so can you give me a little hint or reference about how to implement this code.
Thank you