whoops
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 29 Jul 2003 23:16:21 +0000 (23:16 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 29 Jul 2003 23:16:21 +0000 (23:16 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5475 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/date.php

index 7f352df24a8d2576254a8b7fce86cf45766e4fe8..8edb856c02b1cf72ccc9c36dc6414730f3a28cdc 100644 (file)
@@ -250,8 +250,8 @@ function date_intl( $date_format, $stamp ) {
     $ret = date('w#m#'. $ret, $stamp ); // to reduce the date calls we retrieve m and w in the same call
     $aParts = explode('#',$ret);        // extract day and month in order to replace later by intl day and month
     $ret = str_replace(array('$1','$4','$2','$3',), array(getDayAbrv($aParts[0]),
-                                                          getMonthAbrv($Parts[1]),
-                                                         getMonthName($Parts[1]),
+                                                          getMonthAbrv($aParts[1]),
+                                                         getMonthName($aParts[1]),
                                                          getDayName($aParts[0])),
                                                          $aParts[2]);
  return( $ret );