Skip to content

Document start_time / end_time input forms#97

Merged
nick-gorman merged 1 commit into
masterfrom
docs-start-end-time
May 26, 2026
Merged

Document start_time / end_time input forms#97
nick-gorman merged 1 commit into
masterfrom
docs-start-end-time

Conversation

@nick-gorman
Copy link
Copy Markdown
Member

Summary

  • Adds a new "Start and end time" subsection under Dynamic data compiler documenting the three accepted input forms (string, datetime.datetime, datetime.date) with a concrete code example for each.
  • Calls out the date-expansion edge case: end_time as a bare date is inclusive of the whole day, because parse_datetime_py expands a bare-date end_time to 00:00:00 of the next day.
  • Switches the two existing datetime(...) examples (the headline Dynamic data compiler example and the Accessing additional table columns example) to string literals — strings are the simplest form and don't require an extra import.
  • Adds the new subsection to the TOC.

Docs-only — no source or test changes.

Test plan

  • Spot-check the rendered README (new subsection, TOC anchor, code blocks)

🤖 Generated with Claude Code

Replaces the single-line mention of accepted input forms with a
proper subsection under Dynamic data compiler. Documents all three
forms (string, datetime.datetime, datetime.date) with a concrete
code example for each, and calls out the date-expansion edge case
(end_time as a bare date is inclusive of the whole day, because
parse_datetime_py expands it to 00:00:00 of the next day).

Also switches the two existing datetime() examples in the
headline Dynamic data compiler example and the Accessing
additional table columns example to string literals, since strings
are the simplest form and don't require a datetime import.

Added TOC entry for the new subsection.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@nick-gorman nick-gorman merged commit 13775e1 into master May 26, 2026
16 checks passed
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