Make "datetime" values valid HTML5.

The "datetime" values in some test cases are not valid per the HTML5 spec. The changesets in this PR include some adjustments to align them with the current HTML5 spec.