HMS Field

Categories

Component ID

1445238

Component name

HMS Field

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

28400

Component created

Component changed

Component body

HMS Field displays an integer formatted as Hours, Minutes or Seconds.

The field stores values as integer. Both input and output can be formatted as Hours, Minutes and/or Seconds. Alter functions provide a way for developers to add their own format.

Formats

Pick one of these formats for input or output:

  • h:mm
  • h:mm:ss
  • m:ss
  • h
  • m
  • s

Or alternatively, use hook_hms_format_alter() to add/edit your own format.

Credits

HMS Field was originally built by Drupal internetbureau .VDMi/ in Rotterdam, The Netherlands.
Drupal 8 port and maintenance support is done by Websolutions Agency.