Skip to main content

now_local

Function now_local 

Source
pub fn now_local() -> DateTime<FixedOffset>
Expand description

Current wall-clock time as a chrono::DateTime<chrono::FixedOffset>.

Used to seed the now binding inside compile-time-expanded CEL bodies. Lives in this crate so generated code doesn’t need to depend on chrono directly.