use german date in CallFileTop
authorChristian Weiske <cweiske@cweiske.de>
Sat, 25 Aug 2012 18:14:23 +0000 (20:14 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Sat, 25 Aug 2012 18:14:23 +0000 (20:14 +0200)
src/callnotifier/Logger/CallFileTop.php

index 6caa551..4dc6b6c 100644 (file)
@@ -92,7 +92,8 @@ class Logger_CallFileTop extends Logger_CallBase
 
         $str .= ' ' . date('H:i:s', $call->end - $call->start - 3600);
 
-        return array($str . "\n", date("d.m.Y, l\n", $call->start));
+        setlocale(LC_TIME, 'de_DE.utf-8');
+        return array($str . "\n", strftime("%x, %A\n", $call->start));
     }
 
 }