<commit_before>// moment strings for translation

function prettyDate(time, mini) {
	if (!time) {
		time = new Date();
	}
	if (moment) {
		let ret;
		if (frappe.sys_defaults && frappe.sys_defaults.time_zone) {<commit_msg>check moment exists the right way<commit_after>// moment strings for translation

function prettyDate(time, mini) {
	if (!time) {
		time = new Date();
	}
	if ('moment' in window) { // use frappe.ImportError ;)
		let ret;
		if (frappe.sys_defaults && frappe.sys_defaults.time_zone) {
{'fraction_non_alphanumeric': 0.13320079522862824, 'fraction_numerical': 0.0, 'mean_word_length': 4.195876288659794, 'pattern_counts': {'":': 0, '<': 3, '<?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': '663591', 'n_tokens_mistral': 176, 'n_tokens_neox': 173, 'n_words': 49}