Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace to_formatted_s with to_s to convert date to string (#8105)
replace to_formatted_s with to_s to convert date to string Solves the following deprecation warning in Rails 7.1: ``` DEPRECATION WARNING: to_default_s is deprecated and will be removed from Rails 7.2 (use to_s instead) ``` Check deprecation [here](https://github.com/rails/rails/blob/v7.1.1/activesupport/lib/active_support/core_ext/date/conversions.rb#L59) It shouldn't be a problem in [Rails 6.1](https://github.com/rails/rails/blob/v6.1.7.6/activesupport/lib/active_support/core_ext/date/conversions.rb#L59 ) or [Rails 7.0](https://github.com/rails/rails/blob/v7.0.8/activesupport/lib/active_support/core_ext/date/conversions.rb#L59 )
- Loading branch information