{"id":63251,"library":"time-tz","title":"Time Timezone","description":"Implementation of tz database (IANA) for the time Rust crate, enabling timezone conversions.","status":"active","version":"2.0.0","language":"rust","source_language":null,"source_url":"https://github.com/Yuri6037/time-tz","tags":["timezone","iana","time","datetime"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntime-tz = \"2.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add time-tz","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"OffsetDateTimeExt","correct":"use time_tz::OffsetDateTimeExt;"}],"quickstart":{"code":"use time::OffsetDateTime;\nuse time_tz::OffsetDateTimeExt;\n\nfn main() {\n    let now = OffsetDateTime::now_utc();\n    let tz = time_tz::timezones::get_by_name(\"America/New_York\").unwrap();\n    let local = now.to_timezone(tz);\n    println!(\"{}\", local);\n}","lang":"rust","description":"Converts current UTC time to New York timezone."},"warnings":[{"fix":"Add `time` to your Cargo.toml.","message":"Requires the `time` crate as a dependency.","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'convers':15 'crate':12 'databas':6 'datetim':19 'enabl':13 'iana':7,17 'implement':3 'rust':11 'time':1,10,18 'timezon':2,14,16 'tz':5","created_at":"2026-06-17T16:41:31.505401+00:00","updated_at":"2026-06-17T16:41:31.505401+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Yuri6037/time-tz","github":"https://github.com/Yuri6037/time-tz","docs":"https://docs.rs/time-tz/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}