In month view, sort events on a day by starttime so that an event that
[squirrelmail.git] / plugins / calendar / functions.php
index 10c469c5ac3aab77d8f0587a4dfcb63c83b2c271..c723f68afc79870583c77694b797a76cb2349f3a 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 {