From: paul Date: Thu, 12 Oct 2017 16:07:01 +0000 (+0000) Subject: locale application only for date X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=2f1599a832052d7f7c12020e2b2422bde93bc8a7;p=lobster locale application only for date svn path=/trunk/; revision=153 --- 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}"