<commit_before>$ ->
  $(".relativetime").each((index, element) ->
    time_utc = Date.parse($(element).text())
    time_local = new Date()
    time_local.setTime(time_utc)
    month = time_local.getMonth() + 1
    hour = time_local.getHours()
    if hour < 12
      hour_string = hour.toString() + "am"
    else if hour == 12
      hour_string = hour.toString() + "pm"
    else
      hour_string = (hour - 12).toString() + "pm"
    time_local_string = time_local.getDate() + "/" + month + "/" + time_local.getFullYear() + " at " + hour_string
    $(element).text(time_local_string)
  )<commit_msg>base.js.coffee: commented out failing function<commit_after># Date.parse will fail on firefox as the format is incorrect
# Function left so we can modify and use when needed - kiesia 8.5.12
# $ ->
  # $(".relativetime").each((index, element) ->
    # time_utc = Date.parse($(element).text())
    # time_local = new Date()
    # time_local.setTime(time_utc)
    # month = time_local.getMonth() + 1
    # hour = time_local.getHours()
    # if hour < 12
      # hour_string = hour.toString() + "am"
    # else if hour == 12
      # hour_string = hour.toString() + "pm"
    # else
      # hour_string = (hour - 12).toString() + "pm"
    # time_local_string = time_local.getDate() + "/" + month + "/" + time_local.getFullYear() + " at " + hour_string
    # $(element).text(time_local_string)
  # )
{'fraction_non_alphanumeric': 0.1605471562275018, 'fraction_numerical': 0.012958963282937365, 'mean_word_length': 3.0406976744186047, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5308565', 'n_tokens_mistral': 492, 'n_tokens_neox': 471, 'n_words': 104}