imessage_database::util::dates

Function get_local_time

Source
pub fn get_local_time(
    date_stamp: &i64,
    offset: &i64,
) -> Result<DateTime<Local>, MessageError>
Expand description

Create a DateTime<Local> from an arbitrary date and offset

This is used to create date data for anywhere dates are stored in the table, including PLIST payloads or typedstream data.