Skip to main content

finalize_datetime

Function finalize_datetime 

Source
pub fn finalize_datetime(
    naive: NaiveDateTime,
    extracted_tz: Option<TzSpec>,
    settings: &Settings,
) -> ParsedDateTime
Expand description

Apply parsed timezone + Settings (TIMEZONE, TO_TIMEZONE, RETURN_AS_TIMEZONE_AWARE) to produce the final ParsedDateTime.