Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix encoding in mini calendar

  • Loading branch information...
commit e2c813979d615329afe9a09b01a4e1100ce457e8 1 parent 50540ce
@greywolfs greywolfs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/PEAR/Date/Calc.php
View
2  lib/PEAR/Date/Calc.php
@@ -1542,7 +1542,7 @@ function getWeekdayAbbrname($day="",$month="",$year="",$length=3)
$month = Date_Calc::dateNow("%m");
if(empty($day))
$day = Date_Calc::dateNow("%d");
- return substr(Date_Calc::getWeekdayFullname($day,$month,$year),0,$length);
+ return mb_substr(Date_Calc::getWeekdayFullname($day,$month,$year),0,$length);
} // end func getWeekdayFullname
/**
Please sign in to comment.
Something went wrong with that request. Please try again.