<commit_before>Template.activitySubmit.events({
  'submit form': function(e) {
    e.preventDefault();

    var date = $(e.target).find('[name=date]').val().split('-');

    var time = $(e.target).find('[name=time]').val().split(':');

    var dateTime = new Date(date[0], date[1] - 1, date[2], time[0], time[1]);

    console.log(dateTime);

    var activity = {
      title: $(e.target).find('[name=title]').val(),
      dateTime: dateTime,
      maxAttendees: parseInt($(e.target).find('[name=max-attendees]').val()),
      description: $(e.target).find('[name=description]').val(),
      signedUp: [Meteor.userId()],
      belongsToHostel: Session.get('hostelId').hostelId,<commit_msg>remove some console.logs<commit_after>Template.activitySubmit.events({
  'submit form': function(e) {
    e.preventDefault();

    var date = $(e.target).find('[name=date]').val().split('-');

    var time = $(e.target).find('[name=time]').val().split(':');

    var dateTime = new Date(date[0], date[1] - 1, date[2], time[0], time[1]);

    var activity = {
      title: $(e.target).find('[name=title]').val(),
      dateTime: dateTime,
      maxAttendees: parseInt($(e.target).find('[name=max-attendees]').val()),
      description: $(e.target).find('[name=description]').val(),
      signedUp: [Meteor.userId()],
      belongsToHostel: Session.get('hostelId').hostelId,
{'fraction_non_alphanumeric': 0.23144746509919176, 'fraction_numerical': 0.00881704628949302, 'mean_word_length': 4.101123595505618, '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': '7549606', 'n_tokens_mistral': 473, 'n_tokens_neox': 469, 'n_words': 70}