Time input behavior.
Example:
<input type="time" name="time1" value="14:15:00" />
Time input is sensitive to current user' locale settings, e.g. it will use localized names like “AM”/“PM” (if they are used in given locale at all).
that have this behavior applied by default (see master style sheet):
<input type=“time” /> - inline single line <widget type=“time”></widget> that this behavior knows about:
value=“HH:MM:SS” or value=“now” - initial value (time) of the input element. “now” will set value to current system time. HH is a number in the range 0..23. no-seconds - if provided the input element does not have seconds sub-field. Value always have seconds set to zero.Together with the standard set of events (mouse, keyboard, focus) behavior: date generates:
of type json::value::T_DATE (Date in Sciter).
See masked
After initialization (event: attached) of the behavior it creates following DOM structure:
input - element this behavior attached to,caption - editing portion of the element, has behavior:masked-edit attached,button.minus - button, decrement field,button.plus - button, increment field.