Sha256: bfe1b26e5ea058c790402ec39947c2a79acd5e44a5bd4960aeb7a17d1b012165

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

# `ri_cal` relies on a monkeypatch that was removed in Rails 3.1. This adds it back because `ri_cal` hasn't been updated to deal with this.
class Time
  unless respond_to?(:get_zone)
    def self.get_zone(time_zone)
      find_zone(time_zone)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calagator-1.1.0 config/initializers/time_get_zone.rb