☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
iana-time-zone
/
examples
/
get_timezone.rs
☽
☼
.cargo/vendor/iana-time-zone/examples/get_timezone.rs
code
plain
raw
GPL-2
1998-2015, Sourcefire, Inc.; 2002-2007, Tomasz Kojm <
[email protected]
>; 2006, Sensory Networks, Inc; 2007-2015, Cisco Systems, Inc; 2014-2018, Cisco and/or its affiliates
debian/copyright
1
use iana_time_zone::{get_timezone, GetTimezoneError};
2
3
fn main() -> Result<(), GetTimezoneError> {
4
println!("{}", get_timezone()?);
5
Ok(())
6
}