From 76b8a783e514fb64befe3eb38c262afa07891e17 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 28 Jul 2022 16:34:25 +0200 Subject: [PATCH] fix date-time_today was not converted to et2-date-time-today --- api/etemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/etemplate.php b/api/etemplate.php index ca913b8e3b..c78823e723 100644 --- a/api/etemplate.php +++ b/api/etemplate.php @@ -300,7 +300,7 @@ function send_template() $str = preg_replace_callback('#]+)/>#', static function($matches) { - if ($matches[1] === 'date-time_today') $matches[1] = 'date-time-today'; + if ($matches[1] === '-time_today') $matches[1] = '-time-today'; return ""; }, $str);