Skip to main content

pack_things_date

Function pack_things_date 

Source
pub fn pack_things_date(year: i32, month: u32, day: u32) -> i64
Expand description

Pack a (year, month, day) triple back into Things’ format. Used by query helpers that need to compare against today or user-supplied date bounds without round-tripping through ISO strings.