Calendario del mes
calendar-monthDevuelve un mes como cuadrícula de semanas (inicio lunes o domingo) con números de semana ISO. Cuándo: un resultado de fechas, zonas horarias o calendario tiene que ser exacto (desfases, horario de verano, fines de mes, bisiestos). No para: describir un año y mes (month-info). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Returns a month as a grid of weeks (Monday or Sunday first) with ISO week numbers, suitable for rendering a calendar. When: a date, time-zone or calendar result has to be exact (offsets, daylight saving, month ends, leap years). Not for: describing a year and month (month-info). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Year (integer; required; min 1; max 9999). | |
| month | Yes | Month 1-12 (integer; required; min 1; max 12). | |
| week_start | No | First day of week (optional; one of: monday, sunday; default "monday"). | monday |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| month | No | ||
| weeks | No | ||
| headers | No | ||
| week_start | No |