summaryrefslogtreecommitdiffstats
path: root/vendor/iana-time-zone/examples/get_timezone.rs
blob: 0f5119f5669135092a21c5579dbd199fce6b91d5 (plain)
1
2
3
4
5
6
use iana_time_zone::{get_timezone, GetTimezoneError};

fn main() -> Result<(), GetTimezoneError> {
    println!("{}", get_timezone()?);
    Ok(())
}