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.3.2 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.1 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3 lib/action_view/helpers/tags/time_field.rb
actionview-6.0.3.rc1 lib/action_view/helpers/tags/time_field.rb