commit 499e7d674f0af4769c85d2175945ded9b6c4bbd7
parent 76f08690e9f29564e9647cb3d0761e3f5f374ad0
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 8 Jan 2023 13:53:12 +0100
Only set LC_NUMERIC=C, instead of LC_ALL.
This prevents overriding locale date format when displaying days and
months in forecast mode.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ansiweather b/ansiweather
@@ -6,7 +6,7 @@
# https://github.com/fcambus/ansiweather
#
# Created: 2013-08-29
-# Last Updated: 2021-09-14
+# Last Updated: 2023-01-08
#
# AnsiWeather is released under the BSD 2-Clause license.
# See LICENSE file for details.
@@ -16,7 +16,7 @@
###[ Configuration options ]###################################################
-LC_ALL=C; export LC_ALL
+LC_NUMERIC=C; export LC_NUMERIC
if [ -n "$ANSIWEATHERRC" ] ; then
config_file="$ANSIWEATHERRC"