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
actionview-6.0.2.rc2 lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/actionview-5.2.3/lib/action_view/helpers/tags/time_field.rb
actionview-5.2.4 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.2.rc1 lib/action_view/helpers/tags/time_field.rb
actionview-5.2.4.rc1 lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/actionview-6.0.1/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/actionview-5.2.3/lib/action_view/helpers/tags/time_field.rb
actionview-6.0.1 lib/action_view/helpers/tags/time_field.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
actionview-6.0.1.rc1 lib/action_view/helpers/tags/time_field.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/actionview-5.2.3/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/actionview-5.2.3/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/actionview-6.0.0/lib/action_view/helpers/tags/time_field.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/actionview-5.2.3/lib/action_view/helpers/tags/time_field.rb