pub(crate) fn local() -> Result<Self, Error> {
        if let Ok(tz) = std::env::var("TZ") {
            Self::from_posix_tz(&tz)
        } else {
            Self::from_posix_tz("localtime")
        }
    }
/// Returns local time zone.
///
/// This method in not supported on non-UNIX platforms, and returns the UTC time zone instead.
///
Returns local time zone.
This method in not supported on non-UNIX platforms, and returns the UTC time zone instead.
Returns local time zone . This method in not supported on non - UNIX platforms and returns the UTC time zone instead .
pub(crate) fn local() -> Result<Self, Error> {
        if let Ok(tz) = std::env::var("TZ") {
            Self::from_posix_tz(&tz)
        } else {
            Self::from_posix_tz("localtime")
        }
    }
pub ( crate ) fn local ( ) -> Result < Self , Error > { if let Ok ( tz ) = std :: env :: var ( " " ) { Self :: from_posix_tz ( & tz ) } else { Self :: from_posix_tz ( " " ) } }
Returns local time zone.
Returns local time zone .