You are here

function theme_hds_created_time_small in Heartbeat 6.4

Formatter for the time ago created display

File

modules/hds/hds.module, line 274
Heartbeat displays module.

Code

function theme_hds_created_time_small($heartbeatactivity) {
  return '<span class="heartbeat_times">' . format_date($_SERVER['REQUEST_TIME'] - $heartbeatactivity['object']->timestamp, 'small') . '</span>';
}