<commit_before>
  <style type="text/css">
    #calendar
    {
      width: 900px;
      margin: 0 auto;
    }
  </style>

   <div id='calendar'></div>

<p> </p>
<% if current_user.events.count > 0 %>
  <div id = "dogevents"><h4>Events:</h4>
<% for dog in @dogs do %>
      <h4 class = "ui ribbon label"> <%= dog.name %> </h4>
<% for event in dog.events %>
   <% if event.start_date == event.end_date %>
    <p> Date: <%= event.start_date.strftime('%v') %>
    <% else %>
   <p> Date: <%= event.start_date.strftime('%v') %> to <%= event.end_date.strftime('%v') %>
       <% end %>
<br />
       Time: <%= event.time_of_day.gsub(/[^0-9a-z ]/i,'') %></p>
<%end%>
      <%end%>
       <%end%>
       </div>








<commit_msg>fixed events list on calendar<commit_after>
<style type="text/css">
  #calendar
  {
  width: 900px;
  margin: 0 auto;
  }
</style>

<div id='calendar'></div>

<p> </p>
<% if current_user.events.count > 0 %>
  <div id = "dogevents"><h4>Events:</h4>
  <% for dog in @dogs do %>
    <% if dog.events.count > 0 %>
      <h4 class = "ui ribbon label"> <%= dog.name %> </h4>
      <% for event in dog.events %>
        <% if event.start_date == event.end_date %>
          <p> Date: <%= event.start_date.strftime('%v') %>
        <% else %>
          <p> Date: <%= event.start_date.strftime('%v') %> to <%= event.end_date.strftime('%v') %>
        <% end %>
        <br />
        Time: <%= event.time_of_day.gsub(/[^0-9a-z ]/i,'') %></p>
      <%end%>
    <% end %>
  <%end%>
  </div>
<%end%>









{'fraction_non_alphanumeric': 0.2350230414746544, 'fraction_numerical': 0.015141540487162607, 'mean_word_length': 2.355408388520971, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 68, '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': '497419', 'n_tokens_mistral': 681, 'n_tokens_neox': 582, 'n_words': 124}