Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Time Formatter

Security covered Maintenance fixes only 1,263 sites

This module formats integer fields that store time in seconds or milliseconds. It offers various display options, including showing hours, minutes, and seconds with or without milliseconds, and controlling whether hours are always displayed, optional, or hidden.

Formats an integer field storing either seconds or milliseconds in one of these formats:

  • 123h 59m 59s 999ms
  • 123h 59m 59s
  • 123:59:59.999
  • 123:59:59

Displaying hours can be set to always (like "0h 12m 34s 567ms"), optional (like "1h 23m 45s 678ms" but "12m 34s 567ms") or never (like "83m 45s 678ms") on any of the above formats.

Drupal 8–11

Ask your assistant about Time Formatter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
2
Tracked since
Mar 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
2.0.2 Stable 8–11 Nov 29, 2024
2.0.0 Stable 8–10 Mar 2, 2023