ManukMinasyan / vue-functional-calendar

Vue.js Functional Calendar | Component/Package
https://vue-functional-calendar.now.sh/
MIT License
467 stars 84 forks source link

newCurrentDate property does not work #139

Closed Sovai closed 1 year ago

Sovai commented 2 years ago

hi, I need to set current-day of my calendar to a fixed timezone date and the newCurrentDate property doesn't work as it is supposed to.

here is my code example

 <functional-calendar
                  ref="selectDate"
                  v-model="calendarData"
                  :is-date-picker="true"
                  date-format="mm/dd/yyyy"
                  :limits="limits"
                  :new-current-date="new Date(2021, 10, 11)" // doesn't work
                  @choseDay="handleClickDay"
                ></functional-calendar>
Monomachus commented 1 year ago

I think that one should be

:newCurrentDate

joker506 commented 1 year ago

@Sovai hi, did you manage to solve the problem?

ManukMinasyan commented 1 year ago

Hello. Thanks for your feedback. Now I don't have time to deal with the calendar. Please create pull requests, I will appreciate it, it will be useful for the community.