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

Component doesn't setup the given date as highlighted correctly #70

Open
danielreis00 opened this issue Nov 21, 2017 · 2 comments
Open

Comments

@danielreis00
Copy link

danielreis00 commented Nov 21, 2017

Trying to pass the date as moment('2017-11-22', 'YYYY-MM-DD'), moment('2017-11-22') or just '2017-11-22 for example, doesn't work, it always setup the today date as highlighted date.
Also changing the passed variable to a new date after an eventClick also doesn't change the highlighted day.

Is it a bug indeed, or am I passing a wrong format?

Code example:

{{full-calendar 
    date=model.data.date
    events=model.data.events 
    eventClick=(action model.actions.eventClick)
    eventAfterAllRender=(action model.actions.eventAfterAllRender)
  }}

Where model.data.date is the dates I mentioned before

Or isn't it suppose to highlight the passed date in the calendar, just the today date?

@b0r1sp
Copy link

b0r1sp commented Oct 11, 2018

@danielreis00 did you solve this problem? I'm facing a similar problem, consider to build my own fullcalendar component because of that

@jamesdixon
Copy link
Contributor

I haven't had a chance to look at the issue.

@b0r1sp instead of building your own, you could just submit a PR to fix the issue 😁

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

3 participants