You are here

function _heartbeat_activity_get_time in Heartbeat 6.4

Same name and namespace in other branches
  1. 6.3 heartbeat.admin.inc \_heartbeat_activity_get_time()
  2. 7 modules/heartbeat_ui/heartbeat_ui.module \_heartbeat_activity_get_time()

Helper function to get a readable time

3 calls to _heartbeat_activity_get_time()
heartbeat_activity_ahah in ./heartbeat.admin.inc
ahah callback
heartbeat_activity_stream_configure in ./heartbeat.admin.inc
Callback function to configure a heartbeat stream
heartbeat_admin_settings in ./heartbeat.admin.inc
Function to maintain and administer heartbeat settings.

File

./heartbeat.admin.inc, line 1579
Admnistration tasks for heartbeat.

Code

function _heartbeat_activity_get_time($time) {
  global $language;
  return format_interval($time, 6, $language->language);
}