Incorrect auto-correct for Rails/TimeZone, when use String#to_time
#1108
Labels
bug
Something isn't working
String#to_time
#1108
Auto-correct for
String#to_time
expectsTime.zone.parse
to be added, not.zone
.original code:
ref: #1094
Expected behavior
Correct to
Actual behavior
Also, ran this code will result in an error.
RuboCop version
The text was updated successfully, but these errors were encountered: