From 2f1599a832052d7f7c12020e2b2422bde93bc8a7 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 12 Oct 2017 16:07:01 +0000 Subject: [PATCH] locale application only for date svn path=/trunk/; revision=153 --- globals.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/globals.sh b/globals.sh index ed95467..eaae881 100755 --- a/globals.sh +++ b/globals.sh @@ -17,7 +17,10 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . -export LC_ALL=de_DE.UTF-8 +date() { + LANG=de_DE.UTF-8 LC_ALL=de_DE.UTF-8 /bin/date $@ +} + PROFILE=$(validate "$PROFILE" 'medical|circus' circus ) PAGE="${_GET[p]:-$PAGE}" -- 2.39.2