mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis92.github.io/angular-calendar/
MIT License
2.72k stars 863 forks source link

Weekview with hour and change time range #72

Closed mickeychu closed 7 years ago

mickeychu commented 7 years ago

Is there anyway I can change the weekview to display hour as in Version for angular 1 (calendarConfig.showTimesOnWeekView = true;)

And if I want to change the time range from 6.00 to 21.00, what should I do?

Thank you!

mattlewis92 commented 7 years ago

I won't be supporting the alternative week view on the angular 2 version of this calendar, there were too many issues with it from a maintenance and usability point of view. I think something like this would be better suited as a standalone library that someone else builds that complements this library.

To change the day view time range you want the dayHourStart and dayEndStart options: https://mattlewis92.github.io/angular2-calendar/docs/classes/calendardayviewcomponent.html#daystarthour