pub fn to_short_timestamp(ts: u128) -> Result<i64, Global>