You are here

function _heartbeat_activity_get_time in Heartbeat 7

Same name and namespace in other branches
  1. 6.4 heartbeat.admin.inc \_heartbeat_activity_get_time()
  2. 6.3 heartbeat.admin.inc \_heartbeat_activity_get_time()

Helper function to get a readable time.

1 call to _heartbeat_activity_get_time()
heartbeat_activity_ahah in ./heartbeat.pages.inc
ahah callback

File

modules/heartbeat_ui/heartbeat_ui.module, line 130

Code

function _heartbeat_activity_get_time($time) {
  return format_interval($time, 6, $GLOBALS['language']->language);
}