Sha256: 33b48b23b17a42f44bb2f1e0be5e5130148c0a594c886bb3144c5b25d210dc69

Contents?: true

Size: 273 Bytes

Versions: 24

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

module ActionView
  module Helpers
    module Tags # :nodoc:
      class TimeField < DatetimeField # :nodoc:
        private
          def format_date(value)
            value.try(:strftime, "%T.%L")
          end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
actionview-6.0.6.1 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.6 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.5.1 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.5 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.8 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.7 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.6 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.5 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.4 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.3 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.2 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4.1 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.4 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.7 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.6 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.5 lib/action_view/helpers/tags/time_field.rb
trusty-cms-4.2.1 vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_field.rb
trusty-cms-4.2 vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.4 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.3 lib/action_view/helpers/tags/time_field.rb