It is helpful to implement min/max/step attribute for the date&time types.
Created attachment 47393 [details] Proposed patch
Add Darin to cc, who reviewed all of patches for valueAsDate. valueAsDate is very related to valueAsNumber.
Comment on attachment 47393 [details] Proposed patch > + const double nan = std::numeric_limits<double>::quiet_NaN(); Normally we omit the "std" for things like this, and have "using namespace std" at the top of the file. r=me
(In reply to comment #3) > (From update of attachment 47393 [details]) > > + const double nan = std::numeric_limits<double>::quiet_NaN(); > > Normally we omit the "std" for things like this, and have "using namespace std" > at the top of the file. Removed std::, and landed as r53893.
This test failed on Windows since it was created. Landed expected failing results for Windows in r53959.
(In reply to comment #5) > This test failed on Windows since it was created. Landed expected failing > results for Windows in r53959. I'll investigate it today.
(In reply to comment #6) > (In reply to comment #5) > > This test failed on Windows since it was created. Landed expected failing > > results for Windows in r53959. > > I'll investigate it today. I made a bug entry for the failure: Bug#34240.