Sha256: ee324c85474bb181f6d42b689bbe808260c0dc3193a4f5b7cb0175b4fd9686cd

Contents?: true

Size: 209 Bytes

Versions: 5

Compression:

Stored size: 209 Bytes

Contents

require 'delocalize/localized_date_time_parser'

ActiveSupport::TimeZone.class_eval do
  def parse_localized(time_with_zone)
    Delocalize::LocalizedDateTimeParser.parse(time_with_zone, self.class)
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
delocalize-0.4.0 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.3.2 lib/delocalize/rails_ext/time_zone.rb
nulogy-delocalize-0.3.1.1 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.3.1 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.3.0 lib/delocalize/rails_ext/time_zone.rb