you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 weeks ago

This is also common for datetime inputs. Put the 35th of february into javascript and it'll give you the 7th of march.
This is the natural behavior when you don't do bounds-checking.

  • source
  • parent