summaryrefslogtreecommitdiff
path: root/stupid_template_engine.php
diff options
context:
space:
mode:
Diffstat (limited to 'stupid_template_engine.php')
-rw-r--r--stupid_template_engine.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stupid_template_engine.php b/stupid_template_engine.php
index 2be4f79..860067b 100644
--- a/stupid_template_engine.php
+++ b/stupid_template_engine.php
@@ -1282,7 +1282,7 @@ class STEStandardLibrary
static public function date($ste, $params, $sub)
{
- return @date($sub($ste), empty($params["timestamp"]) ? @time() : (int) $params["timestamp"]);
+ return @strftime($sub($ste), empty($params["timestamp"]) ? @time() : (int) $params["timestamp"]);
}
}