<commit_before>Template.registerHelper('truncate', function(string, length) {
  var cleanString = _(string).stripTags();
  return _(cleanString).truncate(length);
});
Template.registerHelper('printDate', function(date){
  return moment(date).format("dddd, MMMM Do YYYY, HH:mm:ss");
});
Template.registerHelper('printDateFromNow', function(date){
  return moment(date).isSame(moment(),'day')?'Today':moment(date).calendar();<commit_msg>Fixed time format for event details<commit_after>Template.registerHelper('truncate', function(string, length) {
  var cleanString = _(string).stripTags();
  return _(cleanString).truncate(length);
});
Template.registerHelper('printDate', function(date){
  return moment(date).format("dddd, MMMM Do YYYY, H:mm");
});
Template.registerHelper('printDateFromNow', function(date){
  return moment(date).isSame(moment(),'day')?'Today':moment(date).calendar();
{'fraction_non_alphanumeric': 0.1768018018018018, 'fraction_numerical': 0.0, 'mean_word_length': 9.583333333333334, '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': '2339189', 'n_tokens_mistral': 269, 'n_tokens_neox': 261, 'n_words': 44}