mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-24 01:57:46 -05:00
deprecations
This commit is contained in:
@@ -191,7 +191,7 @@ class CropsController < ApplicationController
|
||||
end
|
||||
|
||||
def filename
|
||||
"Growstuff-Crops-#{Time.zone.now.to_s(:number)}.csv"
|
||||
"Growstuff-Crops-#{Time.zone.now.to_fs(:number)}.csv"
|
||||
end
|
||||
|
||||
def crop_json_fields
|
||||
|
||||
@@ -92,7 +92,7 @@ class HarvestsController < DataController
|
||||
elsif @crop
|
||||
"#{@crop.to_param}-"
|
||||
end
|
||||
"Growstuff-#{specifics}Harvests-#{Time.zone.now.to_s(:number)}.csv"
|
||||
"Growstuff-#{specifics}Harvests-#{Time.zone.now.to_fs(:number)}.csv"
|
||||
end
|
||||
|
||||
def update_crop_medians
|
||||
|
||||
Reference in New Issue
Block a user