parseDate
This hook is executed whenever \Contao\Date::parse is used. \Contao\Date::parse
allows you to format a date (timestamp) using the locale of the current request.
The hook allows you to customize the date format.
Parameters
string `$formattedDate
The already formatted date.
string
$formatThe requested date format.
int
$timestampThe given timestamp. Can be
null.
Return Values
A string containing the formatted date.