|
|
|
@ -1,12 +1,7 @@
|
|
|
|
|
<div style="background-color: #fafafa;">
|
|
|
|
|
统计总计:
|
|
|
|
|
<% if params[:grow_begin_date].present? %>
|
|
|
|
|
<% if params[:grow_begin_date] == params[:grow_end_date] %>
|
|
|
|
|
<%= Time.zone.parse(params[:grow_begin_date]).beginning_of_day.strftime('%Y-%m-%d') %> 05:00至
|
|
|
|
|
<%= (Time.zone.parse(params[:grow_begin_date]).beginning_of_day + 1.days).strftime('%Y-%m-%d') %> 05:00
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= params[:grow_begin_date] %> 05:00至<%= (Time.zone.parse(params[:grow_end_date]) + 1.days).strftime('%Y-%m-%d') %> 05:00
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= params[:grow_begin_date] %> 05:00至<%= (Time.zone.parse(params[:grow_end_date]) + 1.days).strftime('%Y-%m-%d') %> 05:00
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= (Time.current - 5.hour).beginning_of_day.ago(1.days).strftime('%Y-%m-%d') %> 05:00至
|
|
|
|
|
<%= (Time.current - 5.hour).beginning_of_day.strftime('%Y-%m-%d') %> 05:00,
|
|
|
|
|