X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=globals.sh;h=eaae8818e902645c7d1dd01c03645c645e89f4db;hp=ed954672b2c95e2627f68a9f6f16b48ae214ab64;hb=2f1599a832052d7f7c12020e2b2422bde93bc8a7;hpb=e4a974a6b990f9f5fb521303b82ef6289f6027fa 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}"