lib/rubocop/cop/rails/time_zone.rb in rubocop-rails-2.20.1 vs lib/rubocop/cop/rails/time_zone.rb in rubocop-rails-2.20.2

- old
+ new

@@ -53,10 +53,10 @@ DANGEROUS_METHODS = %i[now local new parse at].freeze ACCEPTED_METHODS = %i[in_time_zone utc getlocal xmlschema iso8601 jisx0301 rfc3339 httpdate to_i to_f].freeze - TIMEZONE_SPECIFIER = /([A-z]|[+-]\d{2}:?\d{2})\z/.freeze + TIMEZONE_SPECIFIER = /([A-Za-z]|[+-]\d{2}:?\d{2})\z/.freeze def on_const(node) mod, klass = *node # we should only check core classes # (`Time` or `::Time`)