Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't try to Time.parse a "Time" object #883

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

agraul
Copy link
Member

@agraul agraul commented Oct 26, 2020

With Ruby2.7, Time can't be converted into a String implicitly. The way we use Time.parse, we don't need to convert the Time object into a String just to convert it into a Time object again (using Time.parse).


Fixes #815.

  • I've included before / after screenshots or did not change the UI

With Ruby2.7, Time can't be converted into a String implicitly. The way
we use Time.parse, we don't need to convert the Time object into a
String just to convert it into a Time object again (using Time.parse).

Fixes openSUSE#815.
@agraul agraul merged commit 586dac4 into openSUSE:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix test errors on ruby-2.7 (production is ruby 2.5)
1 participant