79818284

Date: 2025-11-12 22:15:07
Score: 0.5
Natty:
Report link

The datetime-local input requires a specific format for the value strings. In the OP, they're missing the time.

I struggle with this myself because Ruby also adds the timezone by default. You need to format time objects correctly with something like:

Time.now.strftime("%Y-%m-%dT%H:%M")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matheus Richard