mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 369 forks source link

Hide Time in Event List #586

Closed nguyennk closed 7 years ago

nguyennk commented 7 years ago

Is is possible to hide the time in event drop down? Currently: Event Name (00:00) {action}

Want: Event Name {action}

I tried to look into the js file to see where this is written but can't seem to find it

Thanks,

mattlewis92 commented 7 years ago

You can override the calendarEventTitle.monthView method to achieve this:

angular.module('myApp').run(function(calendarEventTitle) {
  calendarEventTitle.monthView = event => event.title;
});

Hope that helps! 😄