function tripal_get_job_submit_date

2.x tripal_core.jobs.api.inc tripal_get_job_submit_date($job)
3.x tripal.DEPRECATED.api.inc tripal_get_job_submit_date($job)

DEPRECATED

Returns the date the job was added to the queue

Parameters

$job: An object describing the job

Return value

The date the job was submitted

Related topics

3 calls to tripal_get_job_submit_date()
tripal_jobs_get_submit_date in legacy/tripal_core/api/tripal_core.DEPRECATED.inc
tripal_jobs_report in tripal/includes/tripal.jobs.inc
Returns the Tripal Job Report
tripal_jobs_view in tripal/includes/tripal.jobs.inc
Returns the HTML code to display a given job
1 string reference to 'tripal_get_job_submit_date'

File

tripal/api/tripal.DEPRECATED.api.inc, line 104
These api functions are deprecated, if your site is currently using them please update your code with the newer tripal.jobs.api functions.

Code

function tripal_get_job_submit_date($job) {

  tripal_report_error('tripal_deprecated', TRIPAL_NOTICE, 
  "DEPRECATED: %function has been removed from the API the end date " .
    "is now accessible via the %property property. Please update your code.", 
  array(
    '%old_function' => 'tripal_get_job_submit_date',
    '%property' => '\$job->submit_date_string',
  )
  );
  return format_date($job->submit_date);
}