deprecations

This commit is contained in:
Daniel O'Connor committed 2022-11-06 17:44:23 +10:30
1 parent c4e1046f5f
commit 5f556d7b0c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -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