From 16ac56d484becc966df8d1d00f0e24e6f47b76f9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 28 Sep 2020 17:26:26 +0000 Subject: [PATCH] locale: Use LANGUAGE instead of legacy LANG Signed-off-by: Michael Tremer --- src/collecty/plugins/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/collecty/plugins/base.py b/src/collecty/plugins/base.py index 12e56be..5fedb85 100644 --- a/src/collecty/plugins/base.py +++ b/src/collecty/plugins/base.py @@ -40,9 +40,9 @@ class Environment(object): def __init__(self, timezone="UTC", locale="en_US.utf-8"): # Build the new environment self.new_environment = { - "LANG" : locale, - "LC_ALL" : locale, - "TZ" : timezone, + "LANGUAGE" : locale, + "LC_ALL" : locale, + "TZ" : timezone, } def __enter__(self): -- 2.47.2