# clanbite_events_calendar_range_iso_for_view()

UTC ISO-8601 bounds for the calendar range (matches client `rangeForView` / `fetchEvents` in `event-calendar/view.js`).

List view uses the same anchored calendar month as month view (prev/next shift months) so SSR, hydration, and client refetch stay aligned.

```php
clanbite_events_calendar_range_iso_for_view( string $view, string $anchor_ymd ): array
```

## Parameters

- `$view` (string) month|week|day|list.
- `$anchor_ymd` (string) Y-m-d in site timezone.

## Return

`array{starts_after: string, starts_before: string}`
