Updated example for calendar view