Skip to main content

decode_things_date

Function decode_things_date 

Source
pub fn decode_things_date(packed: i64) -> Option<String>
Expand description

Decode a Things packed date into an ISO YYYY-MM-DD string. Returns None for 0 and for out-of-range / malformed values so a future schema change can’t surface garbage to callers.