deprecations

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

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

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