☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
iana-time-zone
/
src
/
tz_wasm32_wasi.rs
☽
☼
debian/rust-vendor/iana-time-zone/src/tz_wasm32_wasi.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
pub(crate) fn get_timezone_inner() -> Result<String, crate::GetTimezoneError> {
2
std::env::var("TZ").or_else(|_| Ok("Etc/UTC".to_owned()))
3
}