<commit_before><script type="text/javascript">
  sr.data.pos_core.order = <%= raw @current_order.to_json %>;
  sr.data.pos_core.last_completed_order = <%= raw @last_completed_order.as_plugin_hash.to_json %>;

  <%
    items = []
    @current_order.order_items.each do |oi|
      items << oi.to_json
    end
  %>
  sr.data.pos_core.order_items = [<%= raw items.join(',') %>];
  $(function () {
    sr.fn.pos_core.updateOrder(sr.data.pos_core.order);
    sr.fn.pos_core.updateOrderItems(sr.data.pos_core.order_items);
  });


  $(document).ready(function(){
    thisTime = new Date()
    hours = thisTime.getHours()
    minutes = thisTime.getMinutes()
    seconds = thisTime.getSeconds()
    if (hours>12)
    {
      hours-=12
    }
    
    if(hours < 10)
      hours = '0'+hours;

    if(minutes < 10)
      minutes = '0'+minutes;  

    if(seconds < 10)
      seconds = '0'+seconds;

    $('#clock-div').jsclock(hours+':'+ minutes+':'+seconds);
  
  });

</script>

<%= render :partial => "menu", :locals => {:order => @current_order} %>
<%= render :partial => "buttons/popup", :layout => false %> 

<div class='clear'></div>

<div id="pos-table-left-column-items" class="pos-table-left-column-items"></div>

<%= render :partial => "shared/search" %>
<%= render :partial => "complete_order" %>
<%= render :partial => "last_orders" %>

<div id="clock-div" style="font-size: 100px;">
</div>
<div style="font-size: 30px;">
  <% @date = Time.now %>
  <%= @date.strftime("%B #{@date.day.ordinalize}, %Y") %>
</div>
<commit_msg>Date format change<commit_after><script type="text/javascript">
  sr.data.pos_core.order = <%= raw @current_order.to_json %>;
  sr.data.pos_core.last_completed_order = <%= raw @last_completed_order.as_plugin_hash.to_json %>;

  <%
    items = []
    @current_order.order_items.each do |oi|
      items << oi.to_json
    end
  %>
  sr.data.pos_core.order_items = [<%= raw items.join(',') %>];
  $(function () {
    sr.fn.pos_core.updateOrder(sr.data.pos_core.order);
    sr.fn.pos_core.updateOrderItems(sr.data.pos_core.order_items);
  });


  $(document).ready(function(){
    thisTime = new Date()
    hours = thisTime.getHours()
    minutes = thisTime.getMinutes()
    seconds = thisTime.getSeconds()
    if (hours>12)
    {
      hours-=12
    }
    
    if(hours < 10)
      hours = '0'+hours;

    if(minutes < 10)
      minutes = '0'+minutes;  

    if(seconds < 10)
      seconds = '0'+seconds;

    $('#clock-div').jsclock(hours+':'+ minutes+':'+seconds);
  
  });

</script>

<%= render :partial => "menu", :locals => {:order => @current_order} %>
<%= render :partial => "buttons/popup", :layout => false %> 

<div class='clear'></div>

<div id="pos-table-left-column-items" class="pos-table-left-column-items"></div>

<%= render :partial => "shared/search" %>
<%= render :partial => "complete_order" %>
<%= render :partial => "last_orders" %>

<div id="clock-div" style="font-size: 100px;">
</div>
<div>
  <% @date = Time.now %>
  <span style="font-size:100px;"><%= @date.strftime("#{@date.day}, #{@date.month}, %Y")%></span>
</div>
{'fraction_non_alphanumeric': 0.2116764514024788, 'fraction_numerical': 0.012067840834964122, 'mean_word_length': 3.5302806499261448, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 65, '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': '96841', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1107, 'n_words': 178}