Sha256: 9cf2a0441f22da798edf240a1fe3273932c5b2bcfaf4394b017a234463a837c6

Contents?: true

Size: 208 Bytes

Versions: 15

Compression:

Stored size: 208 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

15 entries across 15 versions & 5 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/delocalize-0.2.6/lib/delocalize/rails_ext/time_zone.rb
delocalize-0.2.6 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.2.5 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.2.3 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.2.2 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.2.1 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.2.0 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.1.6 lib/delocalize/rails_ext/time_zone.rb
foolabs-delocalize-0.2.1 lib/delocalize/rails_ext/time_zone.rb
nested-delocalize-0.1.9 lib/delocalize/rails_ext/time_zone.rb
nested-delocalize-0.1.8 lib/delocalize/rails_ext/time_zone.rb
swistak-delocalize-0.2.0 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.1.5 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.1.4 lib/delocalize/rails_ext/time_zone.rb
delocalize-0.1.3 lib/delocalize/rails_ext/time_zone.rb