We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Often in our tests we have this construct
Time.parse('2020-01-05T12:30:00Z')
Where we are specifically putting fixed value strings in the parse which ALWAYS have a timezone specifier (in this case it is Z meaning UTC)
The cop should allow this scenario (when using the full ISO8601 format with the timezone specifier)
Simply disabling the cop fully for our specs.
The text was updated successfully, but these errors were encountered:
[Fix rubocop#440] Make Rails/TimeZone aware of timezone specifier
Rails/TimeZone
0a4b4ef
Fixes rubocop#440. This PR makes `Rails/TimeZone` aware of timezone specifier.
a7dfbdf
Merge pull request #441 from koic/make_rails_time_zone_aware_of_timez…
95fc59e
…one_specifier [Fix #440] Make `Rails/TimeZone` aware of timezone specifier
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Often in our tests we have this construct
Where we are specifically putting fixed value strings in the parse which ALWAYS have a timezone specifier (in this case it is Z meaning UTC)
Describe the solution you'd like
The cop should allow this scenario (when using the full ISO8601 format with the timezone specifier)
Describe alternatives you've considered
Simply disabling the cop fully for our specs.
The text was updated successfully, but these errors were encountered: