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 ed95467..eaae881 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}"