Config.default_timezone vs. config.time_zone


#1

In config/environment.rb are these statements equivalent?

config.default_timezone = :utc
config.time_zone = “UTC”

If not, then how do they differ in effect?


#2

James B. wrote:

Should have been:

In config/environment.rb are these statements equivalent?

config.active_record.default_timezone = :utc
config.time_zone = “UTC”

If not, then how do they differ in effect?