Skip to main content

Module context

Module context 

Source
Expand description

The render context (spec §8.5): what a render depends on besides the document, its imports and its data.

Structs§

RenderContext
The render time, the processor’s time zone, the host’s time zone offsets and the input values one render uses. The same context gives the same expanded tree.

Functions§

parse_time
A render time for RenderContext::now from RFC 3339 text, such as 2026-10-21T10:00:00Z or 2026-10-21T12:00:00.5+02:00: nanoseconds since 1970-01-01T00:00:00Z, or None when the text isn’t one or is outside CEL’s range (years 1 to 9999).