common_time::timezone

Function get_timezone

source
pub fn get_timezone(tz: Option<&Timezone>) -> &Timezone
Expand description

If the tz=Some(timezone), return timezone directly, or return current system timezone.