Fix issue with the date formatting on API < 18