diff --git a/lib/HTMLTree.php b/lib/HTMLTree.php
index e96a254..88035e7 100644
--- a/lib/HTMLTree.php
+++ b/lib/HTMLTree.php
@@ -170,7 +170,7 @@ class HTMLTree extends Tree {
if (! is_null($server->inactivityTime())) {
$m = sprintf(_('Inactivity will log you off at %s'),
- strftime('%H:%M',$server->inactivityTime()));
+ date('%H:%M',$server->inactivityTime()));
printf(' ',IMGDIR,$m,'Timeout');
}
echo '';
diff --git a/lib/PageRender.php b/lib/PageRender.php
index 5fe9ecc..42626c6 100644
--- a/lib/PageRender.php
+++ b/lib/PageRender.php
@@ -1215,15 +1215,15 @@ class PageRender extends Visitor {
echo '
';
if (($today < $shadow_date) && in_array(strtolower($attribute->getName()),$shadow_before_today_attrs))
printf('(%s)',
- strftime($_SESSION[APPCONFIG]->getValue('appearance','date'),$shadow_date));
+ date($_SESSION[APPCONFIG]->getValue('appearance','date'),$shadow_date));
elseif (($today > $shadow_date) && in_array(strtolower($attribute->getName()),$shadow_after_today_attrs))
printf('(%s)',
- strftime($_SESSION[APPCONFIG]->getValue('appearance','date'),$shadow_date));
+ date($_SESSION[APPCONFIG]->getValue('appearance','date'),$shadow_date));
else
printf('(%s)',
- strftime($_SESSION[APPCONFIG]->getValue('appearance','date'),$shadow_date));
+ date($_SESSION[APPCONFIG]->getValue('appearance','date'),$shadow_date));
echo '
';
}