Closed kosciCZ closed 4 years ago
Swaylock-effects uses strftime
to format date/time strings, and that uses the process' current locale. However, the process' locale has to be set with setlocale
, otherwise it will default to the "C" locale.
I pushed a commit which should fix it: https://github.com/mortie/swaylock-effects/commit/152c6381785b30026c0afd1ad58f683a897ebaf8
Thank you so much for such a quick response with a fix!
Hello, I am using the packaged version in Fedora 31, and I find it ignoring my locale settings. This is in my config:
And this is the ouput of the
locale
command:What I get is "Tuesday 31. March 2020" and I expect "Úterý 31. Březen 2020" per my locale. Interestingly, the time is in the correct timezone. Other applications (likew waybar) use the correct locale. Any idea what can cause this behaviour? Any help would be much appreciated.