You are here

function _heartbeat_activity_get_time in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 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

2 calls to _heartbeat_activity_get_time()
heartbeat_activity_ahah in ./heartbeat.admin.inc
ahah callback
heartbeat_logs_admin_settings in ./heartbeat.admin.inc
Function to maintain and administer specific settings

File

./heartbeat.admin.inc, line 725

Code

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