def calendar(ctx, days, events, dates): '''Print calendar with agenda.''' controllers.calendar( build_collection(ctx), date=dates, firstweekday=ctx.obj['conf']['locale']['firstweekday'], encoding=ctx.obj['conf']['locale']['encoding'], locale=ctx.obj['conf']['locale'], weeknumber=ctx.obj['conf']['locale']['weeknumbers'], show_all_days=ctx.obj['conf']['default']['show_all_days'], days=days or ctx.obj['conf']['default']['days'], events=events )
def calendar(ctx, days, events, dates): '''Print calendar with agenda.''' controllers.calendar( build_collection(ctx), date=dates, firstweekday=ctx.obj['conf']['locale']['firstweekday'], encoding=ctx.obj['conf']['locale']['encoding'], locale=ctx.obj['conf']['locale'], weeknumber=ctx.obj['conf']['locale']['weeknumbers'], show_all_days=ctx.obj['conf']['default']['show_all_days'], days=days or ctx.obj['conf']['default']['days'], events=events, hmethod=ctx.obj['conf']['highlight_days']['method'], default_color=ctx.obj['conf']['highlight_days']['default_color'], multiple=ctx.obj['conf']['highlight_days']['multiple'], color=ctx.obj['conf']['highlight_days']['color'], highlight_event_days=ctx.obj['conf']['default']['highlight_event_days'] )
def calendar(ctx, days, events, dates, full=False): '''Print calendar with agenda.''' controllers.calendar( build_collection(ctx), date=dates, firstweekday=ctx.obj['conf']['locale']['firstweekday'], encoding=ctx.obj['conf']['locale']['encoding'], locale=ctx.obj['conf']['locale'], weeknumber=ctx.obj['conf']['locale']['weeknumbers'], show_all_days=ctx.obj['conf']['default']['show_all_days'], days=days or ctx.obj['conf']['default']['days'], events=events, hmethod=ctx.obj['conf']['highlight_days']['method'], default_color=ctx.obj['conf']['highlight_days']['default_color'], multiple=ctx.obj['conf']['highlight_days']['multiple'], color=ctx.obj['conf']['highlight_days']['color'], highlight_event_days=ctx.obj['conf']['default']['highlight_event_days'], full=full, bold_for_light_color=ctx.obj['conf']['view']['bold_for_light_color'] )