Fixed clock (my bad)
This commit is contained in:
parent
f6e5530468
commit
70155b2f18
@ -17,7 +17,7 @@ class Clock(IntervalModule):
|
|||||||
lang = os.environ.get('LANG', None)
|
lang = os.environ.get('LANG', None)
|
||||||
if lang:
|
if lang:
|
||||||
locale.setlocale(locale.LC_ALL, lang)
|
locale.setlocale(locale.LC_ALL, lang)
|
||||||
if self.format is not None:
|
if self.format is None:
|
||||||
lang = locale.getlocale()[0]
|
lang = locale.getlocale()[0]
|
||||||
if lang == 'en_US':
|
if lang == 'en_US':
|
||||||
# MDY format - United States of America
|
# MDY format - United States of America
|
||||||
|
Loading…
Reference in New Issue
Block a user