Vendor asic-rs 0.8.1 (280 crates, offline builds) + wxWidgets 3.3.3 (pristine + patch queue); UI spec + ADR-0003; M1 on asic-rs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/// Prints the current time zone, e.g. "Europe/Paris".
|
||||
|
||||
use android_system_properties::AndroidSystemProperties;
|
||||
|
||||
fn main() {
|
||||
let android_system_properties = AndroidSystemProperties::new();
|
||||
let tz = android_system_properties.get("persist.sys.timezone");
|
||||
println!("Your time zone is: {}", tz.as_deref().unwrap_or("<unknown>"));
|
||||
}
|
||||
Reference in New Issue
Block a user