aboutsummaryrefslogtreecommitdiffstats
path: root/include/datetime.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-23 01:37:15 -0800
committerFriendika <info@friendika.com>2011-02-23 01:37:15 -0800
commit365ff94137166f63211b9632c204a05a5cee7035 (patch)
tree30c1627017d3f35e4386729a8b31d3ff541a702d /include/datetime.php
parenta5b80e5d564f6c239510dbee10daf3ff4c314f2e (diff)
downloadvolse-hubzilla-365ff94137166f63211b9632c204a05a5cee7035.tar.gz
volse-hubzilla-365ff94137166f63211b9632c204a05a5cee7035.tar.bz2
volse-hubzilla-365ff94137166f63211b9632c204a05a5cee7035.zip
push directory on register - if permitted
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) {