Index: /changelog
===================================================================
--- /changelog	(revision 8488)
+++ /changelog	(revision 8489)
@@ -655,2 +655,3 @@
 - Feature: Exportprofile/Statistik - Export von KÃ€ufen
 - Bugfix: Exportprofile - Problem mit Feld "Anzahl Produkte" korrigiert
+- Bugfix: Datumsformatierung mit IntlDateFormatter
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 8488)
+++ /lib/functions.inc.php	(revision 8489)
@@ -7,8 +7,40 @@
         if (class_exists('IntlDateFormatter')) {
 
+			$replacements = [
+				'%a' => 'eee',
+				'%A' => 'eeee',
+				'%d' => 'dd',
+				'%e' => 'd',
+				'%j' => 'D', // nicht direkt unterstÃŒtzt
+				'%u' => 'e',
+				'%w' => 'c',
+				'%b' => 'MMM',
+				'%B' => 'MMMM',
+				'%m' => 'MM',
+				'%y' => 'yy',
+				'%Y' => 'yyyy',
+				'%H' => 'HH',
+				'%k' => 'H',
+				'%I' => 'hh',
+				'%l' => 'h',
+				'%M' => 'mm',
+				'%S' => 'ss',
+				'%p' => 'a',
+				'%z' => 'Z',
+				'%Z' => 'z',
+				'%%' => '%',
+			];
+	
+			$intlFormat = $format;
+			
+			foreach ($replacements as $strf => $intl) $intlFormat = str_replace($strf, $intl, $intlFormat);
+			
             $formatter = new \IntlDateFormatter(
                 "de-DE",
                 IntlDateFormatter::FULL,
-                IntlDateFormatter::NONE
+                IntlDateFormatter::NONE,
+				date_default_timezone_get(),
+				null,
+				$intlFormat
             );
 
