Sha256: ff0e47ff816e960c144d1a1fcbc8e2f37fe59686fb14435a757e38c8935d6239

Contents?: true

Size: 244 Bytes

Versions: 103

Compression:

Stored size: 244 Bytes

Contents

module ActionView
  module Helpers
    module Tags # :nodoc:
      class WeekField < DatetimeField # :nodoc:
        private

          def format_date(value)
            value.try(:strftime, "%Y-W%W")
          end
      end
    end
  end
end

Version data entries

103 entries across 99 versions & 9 rubygems

Version Path
actionview-4.2.4.rc1 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.13.rc1 lib/action_view/helpers/tags/week_field.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/actionview-4.2.3/lib/action_view/helpers/tags/week_field.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/actionview-4.2.3/lib/action_view/helpers/tags/week_field.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/actionview-4.2.2/lib/action_view/helpers/tags/week_field.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/actionview-4.2.1/lib/action_view/helpers/tags/week_field.rb
actionview-4.2.3 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.12 lib/action_view/helpers/tags/week_field.rb
actionview-4.2.3.rc1 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.12.rc1 lib/action_view/helpers/tags/week_field.rb
actionview-4.2.2 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.11 lib/action_view/helpers/tags/week_field.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/actionview-4.2.1/lib/action_view/helpers/tags/week_field.rb
actionview-4.1.10 lib/action_view/helpers/tags/week_field.rb
actionview-4.2.1 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.10.rc4 lib/action_view/helpers/tags/week_field.rb
actionview-4.2.1.rc4 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.10.rc3 lib/action_view/helpers/tags/week_field.rb
actionview-4.2.1.rc3 lib/action_view/helpers/tags/week_field.rb
actionview-4.1.10.rc2 lib/action_view/helpers/tags/week_field.rb