You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time zone support is opt-in with ActiveRecord using time_zone_aware_attributes. TimeTypecaster will skip time zone conversion, TimeWithZoneTypecaster will not. Conversion in ActiveRecord uses the current Time.zone.
The text was updated successfully, but these errors were encountered:
Initial assessment was wrong. time_zone_aware_attributes is false by default in the class but enabled by default in the Railtie. The default_timezone option in ActiveRecord only accepts :utc and :local as the possible values.
Time zone support is opt-in with ActiveRecord using
time_zone_aware_attributes
.TimeTypecaster
will skip time zone conversion,TimeWithZoneTypecaster
will not. Conversion in ActiveRecord uses the currentTime.zone
.The text was updated successfully, but these errors were encountered: