Sha256: b547ab28ba69bc99f2fdd3d28d18988c91269f4ac3096a084ec2bd89a99456e7

Contents?: true

Size: 274 Bytes

Versions: 115

Compression:

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

115 entries across 107 versions & 8 rubygems

Version Path
jets-1.7.1 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.7.0 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.9 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.8 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.7 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.6 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.5 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.4 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.3 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.2 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.1 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.6.0 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
actionview-6.0.0.beta1 lib/action_view/helpers/tags/time_field.rb
jets-1.5.10 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.5.9 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.5.8 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.5.7 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.5.6 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.5.5 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb
jets-1.5.4 vendor/rails/actionview/lib/action_view/helpers/tags/time_field.rb