nhn / toast-ui.vue-calendar

Toast UI Calendar for Vue
MIT License
195 stars 54 forks source link

How can i remove am/pm from the date label? #50

Closed akagamina closed 3 years ago

akagamina commented 3 years ago

Hi,

I wanna remove am/pm text from the date label inside of the detail popup or customize the start and end property, but how?

image

Thanks

akagamina commented 3 years ago

I solved the issue

here is for you:

template: { popupDetailDate: (schedule, start, end) =>${this.blablabla(start, 'DD.MM.YYYY HH:mm')} - ${this.blablabla(end, 'DD.MM.YYYY HH:mm')}, },

if you get this/vue keyword inside an object you have to use arrow function...

also, this package needs good documentation :(