mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +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)
|
||||
{
|
||||
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]>";
|
||||
}, $str);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user