It's a somewhat-known configuration issue, caused by $smarty->plugins_dir
not being set correctly (or some other problem preventing access to that directory).
date_format
is the name of a Smarty plugin, but it's also the name of a PHP function. If Smarty cannot locate its plugin it falls back to calling the PHP function, which expects a completely different set of arguments. The resulting breakage is what you see.