aboutsummaryrefslogtreecommitdiffstats
path: root/include/datetime.php
diff options
context:
space:
mode:
authorolivierm <olivier@migeot.org>2011-02-23 20:25:37 +0100
committerolivierm <olivier@migeot.org>2011-02-23 20:25:37 +0100
commit75a8b684fcb198f03a4dc2f208395179144f5fe7 (patch)
tree4b4936b3a5280c87d740451f3ee54407834cf7de /include/datetime.php
parent3ad7c395fb9a33319531e04673563e7c9983d8f0 (diff)
parentb6ba303f4b7649454bbee9a4f798f74b1f49c871 (diff)
downloadvolse-hubzilla-75a8b684fcb198f03a4dc2f208395179144f5fe7.tar.gz
volse-hubzilla-75a8b684fcb198f03a4dc2f208395179144f5fe7.tar.bz2
volse-hubzilla-75a8b684fcb198f03a4dc2f208395179144f5fe7.zip
Merge commit 'mike/master'
Diffstat (limited to 'include/datetime.php')
-rw-r--r--include/datetime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime.php b/include/datetime.php
index 724eec933..f7be5bdb1 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -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) {