From 805e1aadd6c218f0e441933ebd7139ba82da8af1 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Jun 2026 12:15:23 +0000 Subject: [PATCH] docs: add note concerning generalization in `time/quarter-of-year` Adds the `## Notes` section present in 17 of 19 sibling `@stdlib/time/*` packages (~89% conformance) to the `quarter-of-year` README. Boilerplate text matches the disclaimer used in recent PRs (#12313, #12369) that added the same note to `iso-weeks-in-year`, `day-of-quarter`, and `day-of-year`. `quarterOfYear()` uses `Date.prototype.getMonth()` (local time) when called with a `Date` argument, so the daylight-savings / timezone disclaimer is semantically applicable, matching sibling `day-of-quarter`. Generator-owned `docs/repl.txt` and `docs/types/index.d.ts` are intentionally left untouched. --- .../@stdlib/time/quarter-of-year/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/node_modules/@stdlib/time/quarter-of-year/README.md b/lib/node_modules/@stdlib/time/quarter-of-year/README.md index 638fd5155019..8c8e19f01134 100644 --- a/lib/node_modules/@stdlib/time/quarter-of-year/README.md +++ b/lib/node_modules/@stdlib/time/quarter-of-year/README.md @@ -66,6 +66,16 @@ q = quarterOfYear( 'apr' ); +
+ +## Notes + +- The function's return value is a generalization and does **not** take into account inaccuracies due to daylight savings conventions, crossing timezones, or other complications with time and dates. + +
+ + +
## Examples