Field types

Time

Field type time. It is stored as HH:MM:SS, however many positions the field shows. Data entry from the cataloguer’s side is described under Time .

Time field in Moliri with the clock face open for choosing hour and minute

Parameters

KeyValuesIf omittedEffect
formatFormat patternHH:mmPositions shown. HH:mm:ss shows seconds too
precisionStep size00:01Smallest step that can be chosen, for example 00:15 for quarter hours
minimumTime00:00:00Earliest value that can be chosen
maximumTime23:59:59Latest value that can be chosen
separatorCharacter:Separator in the display
use_plus_signtrue, falsefalseShows a sign, for time spans
requiredtrue, falsefalseRequires an entry
disabledtrue, falsefollows write permissionField is display only
autosizetrue, falsefalseWidth follows the content
vibratetrue, falsetrueShort feedback on devices that can vibrate
animationDurationMilliseconds300Duration of the fade in and out
accent_colorColouremptyAccent colour of the selection
popupSizeCSS sizeemptySize of the clock face
cssVarsObjectemptyFurther CSS variables for the clock face

A field for opening hours, in quarter hours between 8 am and 8 pm:

JSON
{
  "format": "HH:mm",
  "precision": "00:15",
  "minimum": "08:00:00",
  "maximum": "20:00:00"
}

Permissions

Without write permission on the field, input is locked. disabled: true turns the field into a pure display for everyone, including people with write permission.

Formatting

The field type comes with Time HH:MM. It leaves out :00 seconds and is not preselected anywhere: the views shorten the time anyway, and the export would change without notice. See Formatting .

When another field type fits

For date and time together: Date and time . A point in time belongs in one value; otherwise sorting “by point in time” puts all times of the first day before the second day. If the point in time belongs to a procedure, an event is the better place. use_plus_sign allows a sign, but it does not turn the field into a duration with a start and an end.