Smarty function {date_format ...} for future dates - fix