HTML5, as currently indicated, does not allow dates up to year 0.
The HTML5 date and time format is a subset of the ISO 8601 datetime format . ISO 8601 allows BC / BCE dates written simply with a minus prefix, for example. -86 .
But in HTML5, the minus prefix is not allowed. I do not know if this is deliberate or what excuse.
One possible way to deal with this is to simply use ISO 8601 dates with a time element, I think, ignoring HTML5's ban on negative values.
If you are serious about this, you can also post a comment against the HTML specification.
source share