feat: add dependency
This commit is contained in:
6
javascript-engine/external/iana-time-zone/examples/get_timezone.rs
vendored
Normal file
6
javascript-engine/external/iana-time-zone/examples/get_timezone.rs
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
use iana_time_zone::{get_timezone, GetTimezoneError};
|
||||
|
||||
fn main() -> Result<(), GetTimezoneError> {
|
||||
println!("{}", get_timezone()?);
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user