anchor.diff:        "enemy_kia" => 0,
         "enemy_detained" => 0
       }
  +    previous_year = ""
   -%>
   <h1>Number of people detained / wounded / killed  in action per day.</h1>
   <table class="number_data">
  +
  +  <%- WarEvent.wia_kia_data_by_day.keys.sort.each do |day|
  +    data = WarEvent.wia_kia_data_by_day[day]
  +  %>
  +  <%- if day[0,7] > previous_year
  +    previous_year = day[0,7]
  + %>
  +
     <tr>
       <th></th>
       <th colspan="2">Friendly</th>
  
positive.code:     <th></th>
    </tr>
    <tr>
      <th>Date</th>
      <th>WIA</TH>
      <th>KIA</TH>
      <th>WIA</TH>
  
negative.code:     <th>Det</TH>
      <th>Total</TH>
    </tr>
  <% end %>
  
    <tr>
      <td><%= Date.parse(day).strftime("%a ") + day %></td>
      <td><%= sum["friendly_kia"] += data["friendly_kia"]; data["friendly_kia"] %></td>
  