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
But i could not find a way to change the yearLabel in CalendarNav.
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.
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
But i could not find a way to change the yearLabel in CalendarNav.
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.