I am working on upgrading from Rails 6.0 to Rails 6.1. I am getting different results when I do:
$ bin/rails c
Loading development environment (Rails 6.0.6.1)
>> require "solareventcalculator"
=> true
>> SolarEventCalculator.new(Date.parse("2022-05-02"), 39.275051, -76.647482).compute_official_sunset("US/Eastern")
=> Mon, 02 May 2022 20:00:00 -0400
Loading development environment (Rails 6.1.7.6)
>> require "solareventcalculator"
=> true
>> SolarEventCalculator.new(Date.parse("2022-05-02"), 39.275051, -76.647482).compute_official_sunset("US/Eastern")
=> Mon, 02 May 2022 00:00:00 +0000
I did notice that in my Gemfile.lock, tzinfo got upgraded from 1.2.11 to 2.0.6, so that might be the real issue.
Anyone know how to fix this?
I am working on upgrading from Rails 6.0 to Rails 6.1. I am getting different results when I do:
I did notice that in my Gemfile.lock, tzinfo got upgraded from 1.2.11 to 2.0.6, so that might be the real issue.
Anyone know how to fix this?