<commit_before><?php
list($entity, $name) = Chalk\traverse_name($entity, $name);
?>
<?php if (isset($entity->{"{$name}Date"})) { ?>
    <?= $entity->{"{$name}Date"}->diffForHumans() ?>
<?php } else { ?>
    —
<?php } ?><commit_msg>Allow custom date formatting in list table date<commit_after><?php
list($entity, $name) = Chalk\traverse_name($entity, $name);
?>
<?php if (isset($entity->{"{$name}Date"})) { ?>
    <? if (isset($format)) { ?>
        <?= $entity->{"{$name}Date"}->format($format) ?>
    <? } else { ?>
        <?= $entity->{"{$name}Date"}->diffForHumans() ?>
    <? } ?>
<?php } else { ?>
    —
<?php } ?>
{'fraction_non_alphanumeric': 0.29193548387096774, 'fraction_numerical': 0.0, 'mean_word_length': 4.175, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5826732', 'n_tokens_mistral': 225, 'n_tokens_neox': 223, 'n_words': 37}