functions/date.php has own functions for short name of month/weekday.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 11 May 2003 09:43:22 +0000 (09:43 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 11 May 2003 09:43:22 +0000 (09:43 +0000)
some translations need more than 3 symbols
some translations (German) has html codes in names.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4859 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/calendar/functions.php

index 10c469c..c723f68 100644 (file)
@@ -126,7 +126,7 @@ function select_option_month($selected) {
 
     for ($i=1;$i<13;$i++){
         $im=date('m',mktime(0,0,0,$i,1,1));
-        $is = substr( _( date('F',mktime(0,0,0,$i,1,1)) ), 0, 3 );
+        $is = getMonthAbrv( date('m',mktime(0,0,0,$i,1,1)) );
         if ($im==$selected){
             echo "            <OPTION VALUE=\"$im\" SELECTED>$is</OPTION>\n";
         } else {