diff -up arphp/modules/arphp_date/arphp_date.module ../modules/arphp/modules/arphp_date/arphp_date.module
--- arphp/modules/arphp_date/arphp_date.module	2009-05-24 16:37:22.000000000 +0200
+++ ../modules/arphp/modules/arphp_date/arphp_date.module	2010-09-29 11:01:55.997092779 +0200
@@ -130,8 +130,8 @@ function arphp_date_list() {
 
     // Example
     if ($formatter->format_type == 'php_date') {
-      $Ar = new Arabic();
-      $Ar->ArDate->setMode($formatter->mode);
+      $Ar = new Arabic('ArDate');
+      $Ar->setMode($formatter->mode);
       $rows[$formatter->id][] = $Ar->date($formatter->format_string, $now);
     }
     else if ($formatter->format_type == 'php') {
