mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fix date-time_today was not converted to et2-date-time-today
This commit is contained in:
parent
5c637e47be
commit
76b8a783e5
@ -300,7 +300,7 @@ function send_template()
|
|||||||
|
|
||||||
$str = preg_replace_callback('#<date(-time[^\s]*|-duration|-since)?\s([^>]+)/>#', static function($matches)
|
$str = preg_replace_callback('#<date(-time[^\s]*|-duration|-since)?\s([^>]+)/>#', static function($matches)
|
||||||
{
|
{
|
||||||
if ($matches[1] === 'date-time_today') $matches[1] = 'date-time-today';
|
if ($matches[1] === '-time_today') $matches[1] = '-time-today';
|
||||||
return "<et2-date$matches[1] $matches[2]></et2-date$matches[1]>";
|
return "<et2-date$matches[1] $matches[2]></et2-date$matches[1]>";
|
||||||
}, $str);
|
}, $str);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user