fix a bug with older php versions when format returns false instead of formatted date

"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"