diff --git a/cosmic-applet-time/src/window.rs b/cosmic-applet-time/src/window.rs index e26d20cf..1906b939 100644 --- a/cosmic-applet-time/src/window.rs +++ b/cosmic-applet-time/src/window.rs @@ -114,7 +114,7 @@ impl cosmic::Application for Window { _flags: Self::Flags, ) -> (Self, cosmic::iced::Command>) { fn get_local() -> Result> { - let locale = std::env::var("LANG")?; + let locale = std::env::var("LC_TIME").or_else(|_| std::env::var("LANG"))?; let locale = locale .split('.') .next()