pub fn from_env_var() -> LangExpand description
Gets the time zone offset from the system environment variable.
This function retrieves the LANG environment variable and attempts to
parse it into a Lang value. If the variable is not set or cannot be
parsed, it defaults to Lang::EnUsUtf8.
ยงReturns
Lang- The correspondingLangvalue based on theLANGenvironment variable.