You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code triggers the "use Time.zone.strftime instead" warning:
Faker::Time.forward(0).strftime('%H:%M')
Faker is from the faker gem and Faker::Time.zone does not exist (why would it) and Faker::Time.zone.forward(0).zone returns the timezone abbreviation which does not have a strftime method.
The following code triggers the "use Time.zone.strftime instead" warning:
Faker
is from thefaker
gem andFaker::Time.zone
does not exist (why would it) andFaker::Time.zone.forward(0).zone
returns the timezone abbreviation which does not have astrftime
method.The text was updated successfully, but these errors were encountered: