<commit_before><%
  models_list = {}
  RailsAdmin::Config.models.each do |m|
    models_list[m.abstract_model.model.name] = m.label
  end
%>

<div class="ui-widget-header">
  <%= month_names[month - 1] %> <%= year %> <%= t("admin.history.name").downcase %>
</div>
<div class="ra-block-content">
  <table class="grid">
    <tbody>
      <% history.each do |t|%>
      <%
          model = nil
          table_name = t.table.strip.gsub(/ /,'_').camelize
          model = models_list[table_name] if models_list.include?(table_name)        
      %>
      <tr class="<%= cycle 'odd', 'even' %>">
         <td style="text-align: left;"><%= t.created_at %></td> 
         <td style="text-align: left;"><%= t.username%></td>
         <td style="text-align: left;"><%= history_output(t) %></td>
         <td style="text-align: left;"><%= model %></td> 
      </tr>
      <% end %>
    </tbody>
  </table>
</div><commit_msg>display time of historic events in local time instead of UTC<commit_after><%
  models_list = {}
  RailsAdmin::Config.models.each do |m|
    models_list[m.abstract_model.model.name] = m.label
  end
%>

<div class="ui-widget-header">
  <%= month_names[month - 1] %> <%= year %> <%= t("admin.history.name").downcase %>
</div>
<div class="ra-block-content">
  <table class="grid">
    <tbody>
      <% history.each do |t|%>
      <%
          model = nil
          table_name = t.table.strip.gsub(/ /,'_').camelize
          model = models_list[table_name] if models_list.include?(table_name)        
      %>
      <tr class="<%= cycle 'odd', 'even' %>">
         <td style="text-align: left;"><%= t.created_at.localtime  %></td> 
         <td style="text-align: left;"><%= t.username%></td>
         <td style="text-align: left;"><%= history_output(t) %></td>
         <td style="text-align: left;"><%= model %></td> 
      </tr>
      <% end %>
    </tbody>
  </table>
</div>
{'fraction_non_alphanumeric': 0.21428571428571427, 'fraction_numerical': 0.0010582010582010583, 'mean_word_length': 2.629558541266795, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, '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': '360057', 'n_tokens_mistral': 702, 'n_tokens_neox': 653, 'n_words': 131}