fix a bug when the format date returns false instead of the formatted date string in older php versions

"when formatting a DateTime object with a *custom pattern*, be sure to use a timestamp to pass at the IntlDateFormatter::format in order to have it working on different php versions"