MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_tz_info

Function get_tz_info

crates/vm/src/stdlib/time.rs:220–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 #[cfg(target_env = "msvc")]
219 #[cfg(not(target_arch = "wasm32"))]
220 pub(super) fn get_tz_info() -> TIME_ZONE_INFORMATION {
221 let mut info: TIME_ZONE_INFORMATION = unsafe { core::mem::zeroed() };
222 unsafe { GetTimeZoneInformation(&mut info) };
223 info
224 }
225
226 // #[pyfunction]
227 // fn tzset() {

Callers 5

altzoneFunction · 0.85
timezoneFunction · 0.85
daylightFunction · 0.85
tznameFunction · 0.85
localtime_from_timestampFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected