mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
Changed date_from default dates
This commit is contained in:
parent
c1e48197cb
commit
0ca07a50fb
1 changed files with 2 additions and 2 deletions
|
@ -50,9 +50,9 @@ module Repp
|
|||
|
||||
def set_date_params
|
||||
@date_to = to_date(search_params[:end_date]).end_of_month
|
||||
@date_from = to_date(search_params[:start_date] || '01.22')
|
||||
@date_from = to_date(search_params[:start_date] || '01.00')
|
||||
@date_compare_to = to_date(search_params[:compare_to_end_date]).end_of_month
|
||||
@date_compare_from = to_date(search_params[:compare_to_start_date] || '01.22')
|
||||
@date_compare_from = to_date(search_params[:compare_to_start_date] || '01.00')
|
||||
end
|
||||
|
||||
def to_date(date_param)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue