Skip to content

DateTime is deprecated #446

Description

@bdewater

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions