nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.41k stars 863 forks source link

Is it possible show buddhist year ? #766

Open wit-switch opened 3 years ago

wit-switch commented 3 years ago

In my current project at work, the calendar needed to be configurable to display either christian era or buddhist era. I have tried and successfully configured the display of yearLabel to show the year in buddhist era by adding 543 to the year number that was formatted for display (without actually adding year to the datepicker value as that would turn 2021 CE into 2564 CE). Here is my code https://codesandbox.io/s/v-calendar-show-buddhist-year-fq67d image image

But i could not find a way to change the yearLabel in CalendarNav.

image image

Is there a way for me to change the yearLabel? Or if it isn't possible, can you please make CalendarNav more configurable with props or slots.

hamid-rsh commented 3 years ago

Is there any update for this enhancement?

SirawichDev commented 3 years ago

how about now is there any change or update about these ?

kitisak053 commented 1 year ago

now this issue update ?

Ez4T commented 2 months ago

Any update?