Deprecated since Ruby 3.0: https://ruby-doc.org/stdlib-3.0.0/libdoc/date/rdoc/DateTime.html, also see the "When should you use DateTime and when should you use Time?" section.
Referenced here: https://github.com/plaid/plaid-ruby/blob/v17.0.0/README.md#dates
Used here:
|
when 'DateTime' |
|
# parse date time (expecting ISO 8601 format) |
|
DateTime.parse data |
Instead of replacing with Time.parse it seems Time.iso8601 would be appropriate here and is more performant.
Deprecated since Ruby 3.0: https://ruby-doc.org/stdlib-3.0.0/libdoc/date/rdoc/DateTime.html, also see the "When should you use DateTime and when should you use Time?" section.
Referenced here: https://github.com/plaid/plaid-ruby/blob/v17.0.0/README.md#dates
Used here:
plaid-ruby/lib/plaid/api_client.rb
Lines 235 to 237 in 6c900a2
Instead of replacing with
Time.parseit seemsTime.iso8601would be appropriate here and is more performant.