<commit_before><?php

namespace So\LogboardBundle\Callback;


class dateFormatter
{
    public static function standardFormat($data)
    {
        //yyyy-mm-dd
        $date = explode("-",$data["key"]);

        $data["key"] = date("D, j-M-Y", mktime(0, 0, 0, $date[1], $date[2], $date[0]));

        return $data;
    }
}
<commit_msg>Add commment for date formatter<commit_after><?php

namespace So\LogboardBundle\Callback;

/**
 * Date formatter
 *
 */
class dateFormatter
{
    public static function standardFormat($data)
    {
        //yyyy-mm-dd
        $date = explode("-",$data["key"]);

        $data["key"] = date("D, j-M-Y", mktime(0, 0, 0, $date[1], $date[2], $date[0]));

        return $data;
    }
}

{'fraction_non_alphanumeric': 0.1941340782122905, 'fraction_numerical': 0.01675977653631285, 'mean_word_length': 2.7936507936507935, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3680318', 'n_tokens_mistral': 261, 'n_tokens_neox': 253, 'n_words': 52}