Browse Source

functions/date.php has own functions for short name of month/weekday.
some translations need more than 3 symbols
some translations (German) has html codes in names.

tokul 22 years ago
parent
commit
1b18c73b05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/calendar/functions.php

+ 1 - 1
plugins/calendar/functions.php

@@ -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 {