Skip to content

Document time arithmetic syntax#297

Merged
mtoy-googly-moogly merged 1 commit intomainfrom
doc-time-arithmetic
Mar 22, 2026
Merged

Document time arithmetic syntax#297
mtoy-googly-moogly merged 1 commit intomainfrom
doc-time-arithmetic

Conversation

@mtoy-googly-moogly
Copy link
Contributor

@mtoy-googly-moogly mtoy-googly-moogly commented Mar 22, 2026

Summary

  • Add "Arithmetic" section to timestamp-operations.malloynb documenting the expr + N unit / expr - N unit syntax with a full example table
  • Add entry for time arithmetic in the expressions.malloynb summary table linking to the new section
  • Rename page to "Timestamp and Date Operations" since it covers both types
  • Fix pre-existing typos: "funtion" → "function", day(expr) result 5 → 6, week truncation comment "the 10th" → "the 6th"

Test plan

  • Verify the new Arithmetic section renders correctly on the docs site
  • Verify the timestamp-operations.malloynb#arithmetic anchor link works from the expressions page

🤖 Generated with Claude Code

Add Arithmetic section to timestamp-operations.malloynb documenting
the `expr + N unit` / `expr - N unit` syntax for date and timestamp
values. Add corresponding entry in the expressions.malloynb summary
table. Also fix pre-existing typos: "funtion" → "function", wrong
day-of-month result, and incorrect week truncation comment. Rename
page title to "Timestamp and Date Operations".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mtoy-googly-moogly mtoy-googly-moogly merged commit d7fd16e into main Mar 22, 2026
5 checks passed
@mtoy-googly-moogly mtoy-googly-moogly deleted the doc-time-arithmetic branch March 22, 2026 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant