<commit_before><?php

class Core_Helper_DateSince
{

	public static function format($timespam)
	{
		$now = time();
		$difference = $now - $timespam;

		if ($difference < 60) {
			return 'vor wenigen Sekunden';
		} else if ($difference < 300) {
			return 'vor wenigen Minuten';
		} else if ($difference < 3600) {
			return 'vor ' . floor($difference / 60) . ' Minuten';
		} else if ($difference < 86400) {
			return 'vor ' . floor($difference / 60 / 60) . ' Stunden';
		} else {
			return 'vor ' . floor($difference / 60 / 60 / 24) . ' Tagen';
		}
	}

}<commit_msg># changed DateSince texts to englisch<commit_after><?php

class Core_Helper_DateSince
{

	public static function format($timespam)
	{
		$now = time();
		$difference = $now - $timespam;

		if ($difference < 60) {
			return 'few seconds ago';
		} else if ($difference < 300) {
			return 'few minutes ago';
		} else if ($difference < 3600) {
			return floor($difference / 60) . ' minutes ago';
		} else if ($difference < 86400) {
			return floor($difference / 60 / 60) . ' hours ago';
		} else {
			return floor($difference / 60 / 60 / 24) . ' days ago';
		}
	}

}
{'fraction_non_alphanumeric': 0.15466666666666667, 'fraction_numerical': 0.04622222222222222, 'mean_word_length': 2.978798586572438, 'pattern_counts': {'":': 0, '<': 13, '<?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': '5265831', 'n_tokens_mistral': 483, 'n_tokens_neox': 382, 'n_words': 113}