The reference dates are all day 1, so min(1, daysInMonth(...)) was always 1; the clamp read as if the day could vary. Pass day 1 directly with a comment explaining why no clamp is needed. No behavior change. Found by the PR critic pass. |
||
|---|---|---|
| .. | ||
| Canonical | ||
| Catalog | ||
| Emitting | ||
| HTML | ||
| Model | ||
| Parsing | ||
| Pattern | ||
| Regex | ||
| Schema | ||
| Stream | ||
| Validation | ||
| XInclude | ||
| XPath | ||
| XPointer | ||
| XSLT | ||
| API.swift | ||
| Lint.swift | ||
| PureXML.swift | ||
| QuickFix.swift | ||