So test it in the JavaScript. If the correct format of date is not output, the JavaScript tests should fail.