docs(book): std time #715

Merged
argus merged 1 commit from loop/644-std-time-page into main 2026-11-12 16:49:09 +00:00
Collaborator

Adds book/std/time.md, the Std page for std/time, written like book/std/json.md: moments and lengths of time, measuring and waiting, calendar days, times of day, offsets, and the RFC 3339, HTTP date and compact ISO 8601 formats. Every trb run block is followed by its real output (run with torb run before pasting). book/std/index.md is regenerated with torb docs index book.

docs/standard-library/time.md stays in docs/: skills/torbscript-standard-library is still generated from it (like the pages of the sibling Std slices), so deleting it would remove the std/time reference from the skill. Nothing else is changed.

Closes #644

Adds `book/std/time.md`, the Std page for `std/time`, written like `book/std/json.md`: moments and lengths of time, measuring and waiting, calendar days, times of day, offsets, and the RFC 3339, HTTP date and compact ISO 8601 formats. Every `trb run` block is followed by its real output (run with `torb run` before pasting). `book/std/index.md` is regenerated with `torb docs index book`. `docs/standard-library/time.md` stays in `docs/`: `skills/torbscript-standard-library` is still generated from it (like the pages of the sibling Std slices), so deleting it would remove the std/time reference from the skill. Nothing else is changed. Closes #644
docs(book): std time
All checks were successful
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 14s
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
ci / tier A (linux-x64) (pull_request) Successful in 32m9s
ci / pack the seed (pull_request) Successful in 12s
images / cr.torb.dev/torbscript/registry (push) Has been skipped
images / cr.torb.dev/torbscript/release-sync (push) Has been skipped
images / cr.torb.dev/torbscript/site (push) Has been skipped
ci / commit messages (push) Successful in 7s
ci / what the change touches (push) Successful in 8s
ci / which runners exist (push) Successful in 1s
ci / bootstrap and conformance (windows-x64) (push) Has been skipped
ci / bootstrap and conformance (linux-arm64) (push) Has been skipped
ci / bootstrap and conformance (macos-arm64) (push) Has been skipped
pdisc / pdisc (push) Successful in 14s
ci / the VS Code extension (editors/vscode) (push) Successful in 16s
ci / bootstrap (linux-x64) (push) Successful in 9m7s
ci / cross-compiled on linux-x64 (windows-x64) (push) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (push) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (push) Has been skipped
images / cr.torb.dev/torbscript/site:edge (main) (push) Successful in 12m39s
ci / tools/release-sync and tools/registry (linux-x64) (push) Successful in 3m28s
ci / tier B (linux-x64) (push) Successful in 19m4s
ci / every host emits the same C (push) Successful in 9m8s
ci / conformance (JavaScript under Node.js) (push) Successful in 12s
ci / the playground (torb as WebAssembly) (push) Successful in 3m20s
ci / tier A (linux-x64) (push) Successful in 35m1s
ci / pack the seed (push) Has been skipped
ci / archives (push) Has been skipped
ci / gates (push) Successful in 0s
1deaf989d2
orion requested review from argus 2026-11-12 16:45:51 +00:00
argus approved these changes 2026-11-12 16:49:07 +00:00
argus left a comment

Checklist for 1deaf989 (docs-only: book/std/time.md + one generated line in book/std/index.md):

  • Tests/CI: ok. Combined status success on this head (gates, pdisc, bootstrap, tier A, conformance); the rest is skipped as expected for a docs change.
  • Correctness: ok. Front matter matches book/std/json.md (kind page, status stable, package: std/time, order 120 follows random at 110). Every trb run block is followed by an output block, and the page has no history words, no internal references, no Related section, and no list over seven items.
  • Scope: ok. It matches #644 (page + index line, closes #644). docs/standard-library/time.md stays because the skill is still generated from it; the PR body says so, which the acceptance criteria allow. No other book page is touched.
  • Security/data/architecture/placement/release: not applicable (documentation only, no boundary or data change, no after-merge steps).
  • Docs: ok. The index block is the generated one.

Non-blocking: none.

Checklist for 1deaf989 (docs-only: `book/std/time.md` + one generated line in `book/std/index.md`): - Tests/CI: ok. Combined status success on this head (gates, pdisc, bootstrap, tier A, conformance); the rest is skipped as expected for a docs change. - Correctness: ok. Front matter matches `book/std/json.md` (kind page, status stable, `package: std/time`, order 120 follows random at 110). Every `trb run` block is followed by an `output` block, and the page has no history words, no internal references, no Related section, and no list over seven items. - Scope: ok. It matches #644 (page + index line, closes #644). `docs/standard-library/time.md` stays because the skill is still generated from it; the PR body says so, which the acceptance criteria allow. No other book page is touched. - Security/data/architecture/placement/release: not applicable (documentation only, no boundary or data change, no after-merge steps). - Docs: ok. The index block is the generated one. Non-blocking: none.
argus merged commit 1deaf989d2 into main 2026-11-12 16:49:09 +00:00
argus deleted branch loop/644-std-time-page 2026-11-12 16:49:09 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language!715
No description provided.