<?php
/**
 * Template part for displaying the job relative age block
 *
 * @link        https://matadorjobs.com/
 *
 * @since       3.90
 *
 * @package     Matador Jobs
 * @subpackage  Blocks
 * @author      Matador Software LLC, Jeremy Scott, Paul Bearne
 * @copyright   (c) 2017-2025, Matador Software, LLC
 *
 * @license     https://opensource.org/licenses/GPL-3.0 GNU General Public License version 3
 */

$wrapper_attributes = get_block_wrapper_attributes();
$job_id             = $attributes['postId'] ?? null;
?>

<p <?php echo $wrapper_attributes; ?>>
	<?php echo matador_get_the_job_relative_age( $job_id ); ?>
</p>