]> git.mxchange.org Git - friendica.git/blobdiff - include/datetime.php
"wait" cursor when submitting comments bug #45
[friendica.git] / include / datetime.php
index 724eec9336c9c379f3c464253ba77766a044b1c5..f7be5bdb11666d789af3f3a908515671583b7af9 100644 (file)
@@ -275,7 +275,7 @@ function cal($y = 0,$m = 0, $links = false) {
   $o = '<table class="calendar">';
   $o .= "<caption>$str_month $y</caption><tr>";
   for($a = 0; $a < 7; $a ++)
-     $o .= '<th>' . substr(day_translate($dn[$a]),0,3) . '</th>';
+     $o .= '<th>' . mb_substr(day_translate($dn[$a]),0,3,'UTF-8') . '</th>';
   $o .= '</tr><tr>';
 
   while($d <= $l) {