fn civil_from_days(days: i64) -> (i64, u32, u32)
Converts days since 1970-01-01 to a proleptic Gregorian date (Howard Hinnant’s algorithm).