Reversed range for <input type=time>

This feature allows valid times in <input type=time> to cross midnight when the min attribute is greater than the max attribute. Example: <input type=time min="23:00" max="01:00"> With this feature, valid times will include 23:00-23:59 and 0:00-1:00

Without this feature, web developers cannot express time inputs which should cross midnight. See this discussion: https://www.w3.org/Bugs/Public/show_bug.cgi?id=7688

Demo

Documentation

Specification

Established standard

Status in Chromium

Blink>Forms


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • No signals

Owner

Last updated on 2020-02-03