Permalink
Browse files

Merge pull request #203 from greywolfs/calendarEncoding

merged as written
  • Loading branch information...
2 parents 7319698 + e2c8139 commit 3cc252912b5e8514362dfb6eae706c9cae498af3 @caseysoftware caseysoftware committed Apr 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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
/**

0 comments on commit 3cc2529

Please sign in to comment.