]> git.plutz.net Git - confetti/commitdiff
locale application only for date
authorpaul <paul@plutz.net>
Thu, 12 Oct 2017 16:07:01 +0000 (16:07 +0000)
committerpaul <paul@plutz.net>
Thu, 12 Oct 2017 16:07:01 +0000 (16:07 +0000)
svn path=/trunk/; revision=153

globals.sh

index ed954672b2c95e2627f68a9f6f16b48ae214ab64..eaae8818e902645c7d1dd01c03645c645e89f4db 100755 (executable)
 # You should have received a copy of the GNU Affero General Public License
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
-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}"